Moving that "#if TARGET_HOST_UNIX_X11" to the correct place.
authorChristopher John Purnell <cjp@lost.org.uk>
Tue, 19 Aug 2003 00:11:59 +0000 (00:11 +0000)
committerChristopher John Purnell <cjp@lost.org.uk>
Tue, 19 Aug 2003 00:11:59 +0000 (00:11 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@164 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_gamemode.c

index 0813d41..490d2f6 100644 (file)
@@ -131,6 +131,7 @@ void fghRememberState( void )
  */
 void fghRestoreState( void )
 {
+#if TARGET_HOST_UNIX_X11
     /*
      * Restore the remembered pointer position:
      */
@@ -139,8 +140,6 @@ void fghRestoreState( void )
        fgDisplay.DisplayPointerX, fgDisplay.DisplayPointerY
     );
 
-#if TARGET_HOST_UNIX_X11
-
     /*
      * This highly depends on the XFree86 extensions, not approved as X Consortium standards
      */