istereo
annotate src/opengl.h @ 32:bc6db80aaa58
stop the texture coordinates from growing to rediculous proportions
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Thu, 08 Sep 2011 21:22:44 +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_ */ |