Moving the platform-specific FBConfig and device context variables into platform...
[freeglut] / src / mswin / freeglut_display_mswin.c
index 9437382..d93675c 100644 (file)
@@ -33,5 +33,5 @@
 \r
 void fgPlatformGlutSwapBuffers( SFG_PlatformDisplay *pDisplayPtr, SFG_Window* CurrentWindow )\r
 {\r
-    SwapBuffers( CurrentWindow->Window.Device );\r
+    SwapBuffers( CurrentWindow->Window.pContext.Device );\r
 }\r