projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://slackware.bholcomb.com/slackware/slackware-11.0/source/xap/xscreensaver/xscree...
[xscreensaver]
/
hacks
/
glx
/
gllist.h
diff --git
a/hacks/glx/gllist.h
b/hacks/glx/gllist.h
index d04ae9a30c375cd8e2a8549d6d15ef061e2f6672..077766f4567d1cdd970df46537fb6f892ca74854 100644
(file)
--- a/
hacks/glx/gllist.h
+++ b/
hacks/glx/gllist.h
@@
-1,16
+1,22
@@
#ifndef __GLLIST_H__
#define __GLLIST_H__
#ifndef __GLLIST_H__
#define __GLLIST_H__
-#include <GL/gl.h>
+
#include <stdlib.h>
#include <stdlib.h>
+#ifdef HAVE_COCOA
+# include <OpenGL/gl.h>
+#else
+# include <GL/gl.h>
+#endif
+
struct gllist{
GLenum format;
GLenum primitive;
int points;
struct gllist{
GLenum format;
GLenum primitive;
int points;
- void *data;
+
const
void *data;
struct gllist *next;
};
struct gllist *next;
};
-void renderList(
struct gllist *list
);
+void renderList(
const struct gllist *list, int wire_p
);
#endif
#endif