istereo
annotate src/opengl.h @ 21:75a63f9ab7cc
ha!
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Wed, 07 Sep 2011 10:49:11 +0300 |
parents | 2c5620f0670c |
children | ff055bff6a15 |
rev | line source |
---|---|
nuclear@15 | 1 #ifndef OPENGL_H_ |
nuclear@15 | 2 #define OPENGL_H_ |
nuclear@15 | 3 |
nuclear@15 | 4 #include "config.h" |
nuclear@15 | 5 |
nuclear@15 | 6 #ifdef IPHONE |
nuclear@1 | 7 #include <OpenGLES/ES2/gl.h> |
nuclear@1 | 8 #else |
nuclear@1 | 9 |
nuclear@1 | 10 #include <GL/glew.h> |
nuclear@1 | 11 |
nuclear@1 | 12 #ifdef __APPLE__ |
nuclear@1 | 13 #include <GLUT/glut.h> |
nuclear@1 | 14 #else |
nuclear@1 | 15 #include <GL/glut.h> |
nuclear@1 | 16 #endif /* __APPLE__ */ |
nuclear@1 | 17 |
nuclear@15 | 18 #endif /* IPHONE */ |
nuclear@15 | 19 |
nuclear@15 | 20 #endif /* OPENGL_H_ */ |