Implemented BlackBerry main (initial version)
[freeglut] / src / blackberry / fg_window_blackberry.c
index 1f13b55..79d82f7 100644 (file)
@@ -48,6 +48,7 @@ void fgPlatformOpenWindow( SFG_Window* window, const char* title,
     fgWarning("You can't have more than one window on BlackBerry");
     return;
   }
+  window->Window.pContext.event = NULL; //XXX Should probably be done elsewhere. Done here so there is no event at the moment
 
   /* Create window */
   if (screen_create_context(&window->Window.pContext.screenContext, 0)) {