Merge branch 'new-pr-for-reform' of git://github.com/bombless/rust-sdl2 into bombless-new-pr-for-reform

This commit is contained in:
Tony Aldridge
2015-01-30 09:26:11 +00:00
3 changed files with 478 additions and 182 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ pub fn main() {
loop {
match poll_event() {
Quit(_) => break,
KeyDown(_, _, key, _, _, _) => {
Quit{..} => break,
KeyDown { keycode: key, .. } => {
if key == KeyCode::Escape {
break;
}
+2 -2
View File
@@ -43,8 +43,8 @@ pub fn main() {
loop {
match poll_event() {
Quit(_) => break,
KeyDown(_, _, key, _, _, _) => {
Quit{..} => break,
KeyDown { keycode: key, .. } => {
if key == KeyCode::Escape {
break;
}
+474 -178
View File
File diff suppressed because it is too large Load Diff