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
/
gllist.h
diff --git
a/hacks/glx/gllist.h
b/hacks/glx/gllist.h
index 077766f4567d1cdd970df46537fb6f892ca74854..dacc89c48d1ee74477382365864a3b0b8a677d09 100644
(file)
--- a/
hacks/glx/gllist.h
+++ b/
hacks/glx/gllist.h
@@
-1,14
+1,20
@@
#ifndef __GLLIST_H__
#define __GLLIST_H__
#ifndef __GLLIST_H__
#define __GLLIST_H__
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include <stdlib.h>
#include <stdlib.h>
-#ifdef HAVE_COCOA
-# include <OpenGL/gl.h>
-#else
+#ifndef HAVE_COCOA
# include <GL/gl.h>
#endif
# include <GL/gl.h>
#endif
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
struct gllist{
GLenum format;
GLenum primitive;
struct gllist{
GLenum format;
GLenum primitive;