#ifndef __GLLIST_H__
#define __GLLIST_H__
-#include <GL/gl.h>
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif /* HAVE_CONFIG_H */
+
#include <stdlib.h>
+#ifndef HAVE_COCOA
+# include <GL/gl.h>
+#endif
+
+#ifdef HAVE_JWZGLES
+# include "jwzgles.h"
+#endif /* HAVE_JWZGLES */
+
struct gllist{
GLenum format;
GLenum primitive;
int points;
- void *data;
+ const void *data;
struct gllist *next;
};
-void renderList(struct gllist *list);
+void renderList(const struct gllist *list, int wire_p);
#endif