projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver]
/
hacks
/
glx
/
glut_swidth.c
diff --git
a/hacks/glx/glut_swidth.c
b/hacks/glx/glut_swidth.c
index c94927b026504437e8f8f26d9eb0ecd852a15e04..185571d167cd31e0da097c10e97adad56c4741b8 100644
(file)
--- a/
hacks/glx/glut_swidth.c
+++ b/
hacks/glx/glut_swidth.c
@@
-11,11
+11,12
@@
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
-# ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-# else
+# ifndef HAVE_COCOA
# include <GL/gl.h>
# include <GL/gl.h>
-#endif
+# endif
+# ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+# endif /* HAVE_JWZGLES */
# undef APIENTRY
# define APIENTRY /**/
#endif
# undef APIENTRY
# define APIENTRY /**/
#endif