#endif\r
\r
\r
-extern GLvoid fghGetGameModeVMaxExtent( SFG_Window* window, int* x, int* y );\r
+extern GLvoid fgPlatformGetGameModeVMaxExtent( SFG_Window* window, int* x, int* y );\r
\r
/* -- PRIVATE FUNCTIONS ---------------------------------------------------- */\r
\r
* Private function to get the virtual maximum screen extent\r
*/\r
#if TARGET_HOST_POSIX_X11\r
-static GLvoid fghGetGameModeVMaxExtent( 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
static GLvoid fghGetVMaxExtent( SFG_Window* window, int* x, int* y )\r
{\r
if( fgStructure.GameModeWindow )\r
- fghGetGameModeVMaxExtent ( window, x, y );\r
+ fgPlatformGetGameModeVMaxExtent ( window, x, y );\r
else\r
{\r
*x = fgDisplay.ScreenWidth;\r