X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fblackberry%2Ffg_window_blackberry.c;fp=src%2Fblackberry%2Ffg_window_blackberry.c;h=79d82f73a6efc0fa2cbe7a3630a8ddb234512d1a;hb=68555565c99ea2c38d1741ce071e43ee56972e04;hp=1f13b554c0559c0c49cc60cbf41dca80af604d9b;hpb=5d2b6aa3e2c786eac40ee9154e5ce3c181d2d52b;p=freeglut diff --git a/src/blackberry/fg_window_blackberry.c b/src/blackberry/fg_window_blackberry.c index 1f13b55..79d82f7 100644 --- a/src/blackberry/fg_window_blackberry.c +++ b/src/blackberry/fg_window_blackberry.c @@ -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)) {