Fixing bug 3292122 from Nigel Stewart (thanks, Nigel) so that "freeglut" will build...
authorJohn F. Fay <johnffay@nettally.com>
Sun, 4 Sep 2011 03:35:29 +0000 (03:35 +0000)
committerJohn F. Fay <johnffay@nettally.com>
Sun, 4 Sep 2011 03:35:29 +0000 (03:35 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@927 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_internal.h

index 9bd0959..2a8d89a 100644 (file)
@@ -381,11 +381,11 @@ struct tagSFG_Display
     int             DisplayModeClock;   /* The display mode's refresh rate   */
     int             DisplayViewPortX;   /* saved X location of the viewport  */
     int             DisplayViewPortY;   /* saved Y location of the viewport  */
+#endif /* HAVE_X11_EXTENSIONS_XF86VMODE_H */
+
     int             DisplayPointerX;    /* saved X location of the pointer   */
     int             DisplayPointerY;    /* saved Y location of the pointer   */
 
-#endif /* HAVE_X11_EXTENSIONS_XF86VMODE_H */
-
 #elif TARGET_HOST_MS_WINDOWS
     HINSTANCE       Instance;           /* The application's instance        */
     DEVMODE         DisplayMode;        /* Desktop's display settings        */