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.35.tar.gz
[xscreensaver]
/
hacks
/
glx
/
glut_swidth.c
diff --git
a/hacks/glx/glut_swidth.c
b/hacks/glx/glut_swidth.c
index c94927b026504437e8f8f26d9eb0ecd852a15e04..b165a0a4c25d5077ad75a3b59ab93e3299195466 100644
(file)
--- a/
hacks/glx/glut_swidth.c
+++ b/
hacks/glx/glut_swidth.c
@@
-11,11
+11,16
@@
# 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_JWXYZ
# include <GL/gl.h>
# include <GL/gl.h>
+# endif
+#ifdef HAVE_ANDROID
+#include <GLES/gl.h>
+#define Bool int
#endif
#endif
+# ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+# endif /* HAVE_JWZGLES */
# undef APIENTRY
# define APIENTRY /**/
#endif
# undef APIENTRY
# define APIENTRY /**/
#endif