summaryrefslogtreecommitdiff
path: root/src/graphics/OpenGLHeaders.h
blob: de692e0ef3402c1199f15f960e8ce5b54f2226d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifdef MACOSX

#if __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
#include <OpenGL/gl3.h>
#include <OpenGL/glu.h>
#else
//#include <GL/glew.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#define GL_RGBA32F 0x8814
#endif

#elif defined(WIN)

#include <GL/glew.h>
#include <GL/gl.h>
#include <GL/glu.h>

#else

#include <GL/glew.h>
#include <GL/gl.h>
#include <GL/glu.h>
#endif