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_stroke.c
diff --git
a/hacks/glx/glut_stroke.c
b/hacks/glx/glut_stroke.c
index 5ff3de5cfda27552e0be93b0db1fbd7178ce5f6f..59850ea76c43c010d7aede3435716f1749799417 100644
(file)
--- a/
hacks/glx/glut_stroke.c
+++ b/
hacks/glx/glut_stroke.c
@@
-8,14
+8,24
@@
#if 0 /* for Mesa */
# include "glutint.h"
#else /* for xscreensaver */
#if 0 /* for Mesa */
# include "glutint.h"
#else /* for xscreensaver */
+
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
# ifdef HAVE_CONFIG_H
# include "config.h"
# endif
+
# ifdef HAVE_COCOA
# ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-# else
+# include "jwxyz.h"
+# elif defined(HAVE_ANDROID)
+# include "jwxyz.h"
+# include <GLES/gl.h>
+# else /* real X11 */
# include <GL/gl.h>
# endif
# include <GL/gl.h>
# endif
+
+# ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+# endif /* HAVE_JWZGLES */
+
# undef APIENTRY
# define APIENTRY /**/
#endif
# undef APIENTRY
# define APIENTRY /**/
#endif