sanegl
diff sanegl.h @ 0:00b315b6db1e
sanegl initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 23 Jun 2011 05:19:40 +0300 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sanegl.h Thu Jun 23 05:19:40 2011 +0300 1.3 @@ -0,0 +1,19 @@ 1.4 +#ifndef SANEGL_H_ 1.5 +#define SANEGL_H_ 1.6 + 1.7 +#ifndef __APPLE__ 1.8 +#include <GL/gl.h> 1.9 +#else 1.10 +#include <OpenGL/gl.h> 1.11 +#endif 1.12 + 1.13 +#ifndef GL_QUADS 1.14 +#define GL_QUADS 7 1.15 +#endif 1.16 + 1.17 +void glBegin(GLenum mode); 1.18 +void glEnd(void); 1.19 + 1.20 +#include "sanegl_attr.h" 1.21 + 1.22 +#endif /* SANEGL_H_ */