Restructuring of when screen context and events are started stopped, created and...
[freeglut] / src / blackberry / fg_internal_blackberry.h
index 229ce05..795ff5d 100644 (file)
@@ -41,6 +41,8 @@ typedef struct tagSFG_PlatformDisplay SFG_PlatformDisplay;
 struct tagSFG_PlatformDisplay
 {
     struct tagSFG_PlatformDisplayEGL egl;
+    screen_context_t screenContext;
+       bps_event_t* event;
     EGLNativeWindowType single_native_window;
 };
 
@@ -49,8 +51,6 @@ typedef struct tagSFG_PlatformContext SFG_PlatformContext;
 struct tagSFG_PlatformContext
 {
     struct tagSFG_PlatformContextEGL egl;
-    screen_context_t screenContext;
-    bps_event_t* event;
 };