istereo2
diff src/opengl.h @ 6:3bccfc7d10fe
goatkit is drawing
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 23 Sep 2015 05:44:58 +0300 |
parents | 81d35769f546 |
children | 7d795dade0bc |
line diff
1.1 --- a/src/opengl.h Tue Sep 22 07:13:47 2015 +0300 1.2 +++ b/src/opengl.h Wed Sep 23 05:44:58 2015 +0300 1.3 @@ -22,8 +22,12 @@ 1.4 1.5 #include "config.h" 1.6 1.7 -#ifdef IPHONE 1.8 +#if defined(IPHONE) || defined(__IPHONE__) 1.9 #include <OpenGLES/ES2/gl.h> 1.10 + 1.11 +#define glClearDepth glClearDepthf 1.12 +#define GLDEF 1.13 +#include "sanegl.h" 1.14 #else 1.15 1.16 #include <GL/glew.h>