Restore keyPressed() function to support MVK_textoverlay sample
This commit is contained in:
parent
a74afb20fc
commit
3941a5becd
3 changed files with 16 additions and 19 deletions
|
|
@ -92,6 +92,7 @@ MVKExample* _mvkExample;
|
|||
|
||||
// SRS - Handle keyboard events
|
||||
-(void) keyDown:(NSEvent*) theEvent {
|
||||
_mvkExample->keyPressed(theEvent.keyCode);
|
||||
_mvkExample->keyDown(theEvent.keyCode);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue