istereo

diff src/opengl.h @ 15:32503603eb7d

ah!
author John Tsiombikas <nuclear@mutantstargoat.com>
date Wed, 07 Sep 2011 09:17:15 +0300
parents 2c5620f0670c
children ff055bff6a15
line diff
     1.1 --- a/src/opengl.h	Wed Sep 07 09:03:51 2011 +0300
     1.2 +++ b/src/opengl.h	Wed Sep 07 09:17:15 2011 +0300
     1.3 @@ -1,4 +1,9 @@
     1.4 -#if defined(__IPHONE_3_0) || defined(__IPHONE_3_2) || defined(__IPHONE_4_0)
     1.5 +#ifndef OPENGL_H_
     1.6 +#define OPENGL_H_
     1.7 +
     1.8 +#include "config.h"
     1.9 +
    1.10 +#ifdef IPHONE
    1.11  #include <OpenGLES/ES2/gl.h>
    1.12  #else
    1.13  
    1.14 @@ -10,4 +15,6 @@
    1.15  #include <GL/glut.h>
    1.16  #endif	/* __APPLE__ */
    1.17  
    1.18 -#endif
    1.19 +#endif	/* IPHONE */
    1.20 +
    1.21 +#endif	/* OPENGL_H_ */