textpsys

diff src/opengl.h @ 0:a4ffd9e6984c

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 19 Aug 2015 09:13:48 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/opengl.h	Wed Aug 19 09:13:48 2015 +0300
     1.3 @@ -0,0 +1,12 @@
     1.4 +#ifndef OPENGL_H_
     1.5 +#define OPENGL_H_
     1.6 +
     1.7 +#ifndef __APPLE__
     1.8 +#define GL_GLEXT_PROTOTYPES 1
     1.9 +#include <GL/gl.h>
    1.10 +#include <GL/glext.h>
    1.11 +#else
    1.12 +#include <OpenGL/gl.h>
    1.13 +#endif
    1.14 +
    1.15 +#endif	// OPENGL_H_