cubemapper

diff src/opengl.h @ 0:8fc9e1d3aad2

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 27 Jul 2017 20:36:12 +0300
parents
children 2bfafdced01a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/opengl.h	Thu Jul 27 20:36:12 2017 +0300
     1.3 @@ -0,0 +1,20 @@
     1.4 +#ifndef OPENGL_H_
     1.5 +#define OPENGL_H_
     1.6 +
     1.7 +#ifdef WIN32
     1.8 +#include <windows.h>
     1.9 +#endif
    1.10 +
    1.11 +#include <GL/glew.h>
    1.12 +
    1.13 +#ifdef __APPLE__
    1.14 +#include <OpenGL/gl.h>
    1.15 +#else
    1.16 +#define GL_GLEXT_PROTOTYPES 1
    1.17 +#include <GL/gl.h>
    1.18 +#include <GL/glu.h>
    1.19 +#endif
    1.20 +
    1.21 +bool init_opengl();
    1.22 +
    1.23 +#endif	// OPENGL_H_