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 fb389673c58de2b386ed128e0ec448ff749461d2..b165a0a4c25d5077ad75a3b59ab93e3299195466 100644
(file)
--- a/
hacks/glx/glut_swidth.c
+++ b/
hacks/glx/glut_swidth.c
@@
-8,8
+8,19
@@
#if 0 /* for Mesa */
# include "glutint.h"
#else /* for xscreensaver */
#if 0 /* for Mesa */
# include "glutint.h"
#else /* for xscreensaver */
-# include "config.h"
-# include <GL/gl.h>
+# ifdef HAVE_CONFIG_H
+# include "config.h"
+# endif
+# ifndef HAVE_JWXYZ
+# include <GL/gl.h>
+# endif
+#ifdef HAVE_ANDROID
+#include <GLES/gl.h>
+#define Bool int
+#endif
+# ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+# endif /* HAVE_JWZGLES */
# undef APIENTRY
# define APIENTRY /**/
#endif
# undef APIENTRY
# define APIENTRY /**/
#endif