From http://www.jwz.org/xscreensaver/xscreensaver-5.16.tar.gz
[xscreensaver] / hacks / glx / gllist.h
1 #ifndef __GLLIST_H__
2 #define __GLLIST_H__
3
4 #ifdef HAVE_CONFIG_H
5 # include "config.h"
6 #endif /* HAVE_CONFIG_H */
7
8 #include <stdlib.h>
9
10 #ifndef HAVE_COCOA
11 # include <GL/gl.h>
12 #endif
13
14 #ifdef HAVE_JWZGLES
15 # include "jwzgles.h"
16 #endif /* HAVE_JWZGLES */
17
18 struct gllist{
19         GLenum format;
20         GLenum primitive;
21         int points;
22         const void *data;
23         struct gllist *next;
24 };
25
26 void renderList(const struct gllist *list, int wire_p);
27
28 #endif