* Private function to get the virtual maximum screen extent\r
*/\r
#if TARGET_HOST_POSIX_X11\r
-static GLvoid fgPlatformGetGameModeVMaxExtent( SFG_Window* window, int* x, int* y )\r
+GLvoid fgPlatformGetGameModeVMaxExtent( SFG_Window* window, int* x, int* y )\r
{\r
int wx, wy;\r
Window w;\r
\r
XTranslateCoordinates(\r
- fgDisplay.Display,\r
+ fgDisplay.pDisplay.Display,\r
window->Window.Handle,\r
- fgDisplay.RootWindow,\r
+ fgDisplay.pDisplay.RootWindow,\r
0, 0, &wx, &wy, &w);\r
\r
*x = fgState.GameModeSize.X + wx;\r