Moving all the X11-specific "fgDisplay" structure fields into their substructure...
[freeglut] / src / Common / freeglut_state.c
index 8962df3..06681eb 100644 (file)
@@ -155,7 +155,7 @@ int fgPlatformGlutGet ( GLenum eWhat )
         XTranslateCoordinates(\r
             fgDisplay.pDisplay.Display,\r
             fgStructure.CurrentWindow->Window.Handle,\r
-            fgDisplay.RootWindow,\r
+            fgDisplay.pDisplay.RootWindow,\r
             0, 0, &x, &y, &w);\r
 \r
         switch ( eWhat )\r