From 869ae6e96295d451f4f520a5e6060339e780a7ef Mon Sep 17 00:00:00 2001 From: rti Date: Fri, 5 Nov 2010 14:22:32 +0100 Subject: [PATCH] Fixed: #1060 Implement getWndProc() on Mac OS X --- code/nel/src/3d/driver/opengl/driver_opengl_window.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp index b7cc6153b..cc3d87788 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp @@ -180,14 +180,7 @@ 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; + return driver->_EventEmitter.processMessage(event); } #elif defined (NL_OS_UNIX)