projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bfcffa
)
trivial/tri_viewport: add space==reset key
author
Keith Whitwell
<keithw@vmware.com>
Mon, 20 Apr 2009 16:32:15 +0000
(17:32 +0100)
committer
Keith Whitwell
<keithw@vmware.com>
Tue, 21 Apr 2009 10:13:15 +0000
(11:13 +0100)
progs/trivial/tri-viewport.c
patch
|
blob
|
history
diff --git
a/progs/trivial/tri-viewport.c
b/progs/trivial/tri-viewport.c
index c08089b9dd7a50634cbd7146705ccd3dcbce206f..37e424467b91bdd25c8e61878f858de8b95a9c1a 100644
(file)
--- a/
progs/trivial/tri-viewport.c
+++ b/
progs/trivial/tri-viewport.c
@@
-72,7
+72,9
@@
static void Key(unsigned char key, int x, int y)
case 'H':
th -= 1.0;
break;
-
+ case ' ':
+ tw = th = tx = ty = 0;
+ break;
default:
break;
}