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 185571d167cd31e0da097c10e97adad56c4741b8..b165a0a4c25d5077ad75a3b59ab93e3299195466 100644
(file)
--- a/
hacks/glx/glut_swidth.c
+++ b/
hacks/glx/glut_swidth.c
@@
-11,9
+11,13
@@
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
-# ifndef HAVE_
COCOA
+# ifndef HAVE_
JWXYZ
# include <GL/gl.h>
# endif
# 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 */
# ifdef HAVE_JWZGLES
# include "jwzgles.h"
# endif /* HAVE_JWZGLES */