X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=inline;f=src%2FCommon%2Ffreeglut_menu.c;h=8444d6ee4a3b6abcf74ad10dea30135fbbb0e64a;hb=50dea63211495f1d8302c25eb1acae51347d1502;hp=2fc528be19f428f9d1571893b37cd2c5082d47d1;hpb=90b777df737006ae0b92acfdd0efc29f7bec136c;p=freeglut diff --git a/src/Common/freeglut_menu.c b/src/Common/freeglut_menu.c index 2fc528b..8444d6e 100644 --- a/src/Common/freeglut_menu.c +++ b/src/Common/freeglut_menu.c @@ -142,24 +142,6 @@ static void fghDeactivateSubMenu( SFG_MenuEntry *menuEntry ) /* * Private function to get the virtual maximum screen extent */ -#if TARGET_HOST_POSIX_X11 -GLvoid fgPlatformGetGameModeVMaxExtent( SFG_Window* window, int* x, int* y ) -{ - int wx, wy; - Window w; - - XTranslateCoordinates( - fgDisplay.pDisplay.Display, - window->Window.Handle, - fgDisplay.pDisplay.RootWindow, - 0, 0, &wx, &wy, &w); - - *x = fgState.GameModeSize.X + wx; - *y = fgState.GameModeSize.Y + wy; -} -#endif - - static GLvoid fghGetVMaxExtent( SFG_Window* window, int* x, int* y ) { if( fgStructure.GameModeWindow )