mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-14 11:19:07 +00:00
Fixed: #1060 Implement getWndProc() on Mac OS X
This commit is contained in:
parent
1f85627214
commit
be50f0afdb
1 changed files with 1 additions and 8 deletions
|
@ -180,16 +180,9 @@ bool GlWndProc(CDriverGL *driver, const void* e)
|
|||
NSEvent* event = [NSEvent eventWithEventRef:e];
|
||||
// NSLog(@"NSEvent in GlWndProc %@", event);
|
||||
|
||||
switch([event type])
|
||||
{
|
||||
/* TODO handle window activate, close, etc. */
|
||||
default:
|
||||
return driver->_EventEmitter.processMessage(event);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
#elif defined (NL_OS_UNIX)
|
||||
|
||||
bool GlWndProc(CDriverGL *driver, XEvent &e)
|
||||
|
|
Loading…
Reference in a new issue