mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
trivial/tri_viewport: add space==reset key
This commit is contained in:
parent
6bfcffa79e
commit
a38f7d9e68
1 changed files with 3 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue