Moving the platform-specific FBConfig and device context variables into platform...
[freeglut] / src / Common / freeglut_structure.c
index f8d748f..56798f1 100644 (file)
@@ -63,7 +63,7 @@ static void fghClearCallBacks( SFG_Window *window )
 #if TARGET_HOST_POSIX_X11\r
 void fgPlatformCreateWindow ( SFG_Window *window )\r
 {\r
-    window->Window.FBConfig = NULL;\r
+    window->Window.pContext.FBConfig = NULL;\r
 \r
     window->State.OldHeight = window->State.OldWidth = -1;\r
 }\r