projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abef471
)
Moved #ifdef for non XFree86 X11 compile.
author
Christopher John Purnell
<cjp@lost.org.uk>
Wed, 3 Sep 2003 01:56:04 +0000
(
01:56
+0000)
committer
Christopher John Purnell
<cjp@lost.org.uk>
Wed, 3 Sep 2003 01:56:04 +0000
(
01:56
+0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@176
7f0cb862
-5218-0410-a997-
914c9d46530a
src/freeglut_gamemode.c
patch
|
blob
|
history
diff --git
a/src/freeglut_gamemode.c
b/src/freeglut_gamemode.c
index
29a2947
..
9df2835
100644
(file)
--- a/
src/freeglut_gamemode.c
+++ b/
src/freeglut_gamemode.c
@@
-132,6
+132,8
@@
void fghRememberState( void )
void fghRestoreState( void )
{
#if TARGET_HOST_UNIX_X11
+
+# ifdef X_XF86VidModeGetAllModeLines
/*
* Restore the remembered pointer position:
*/
@@
-143,7
+145,6
@@
void fghRestoreState( void )
/*
* This highly depends on the XFree86 extensions, not approved as X Consortium standards
*/
-# ifdef X_XF86VidModeGetAllModeLines
if (fgDisplay.DisplayModeValid)
{