Removing some Windows-specific function prototypes from "freeglut_internal.h"
[freeglut] / src / Common / freeglut_gamemode.c
index d2bbe9a..98aa0b6 100644 (file)
@@ -163,7 +163,7 @@ static int xrandr_resize(int xsz, int ysz, int rate, int just_checking)
  * Remembers the current visual settings, so that\r
  * we can change them and restore later...\r
  */\r
-static void fgPlatformRememberState( void )\r
+void fgPlatformRememberState( void )\r
 {\r
     int event_base, error_base;\r
 \r
@@ -248,7 +248,7 @@ static void fgPlatformRememberState( void )
 /*\r
  * Restores the previously remembered visual settings\r
  */\r
-static void fgPlatformRestoreState( void )\r
+void fgPlatformRestoreState( void )\r
 {\r
     /* Restore the remembered pointer position: */\r
     XWarpPointer(\r
@@ -398,7 +398,7 @@ static int fghCheckDisplayModes( GLboolean exactMatch, int displayModesCount, XF
 /*\r
  * Changes the current display mode to match user's settings\r
  */\r
-static GLboolean fgPlatformChangeDisplayMode( GLboolean haveToTest )\r
+GLboolean fgPlatformChangeDisplayMode( GLboolean haveToTest )\r
 {\r
     GLboolean success = GL_FALSE;\r
     /* first try to use XRandR, then fallback to XF86VidMode */\r