goat3d

view goatview/src/opengl.h @ 82:70b7c41a4f17

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 11 May 2014 22:04:54 +0300
parents 7458b8568463
children c1871707c678
line source
1 #ifndef OPENGL_H_
2 #define OPENGL_H_
4 #include <GL/glew.h>
5 #define QT_NO_OPENGL_ES_2
7 #ifdef WIN32
8 #include <windows.h>
9 #endif
11 #ifdef __APPLE__
12 #include <OpenGL/gl.h>
13 #include <OpenGL/glu.h>
14 #else
15 #include <GL/gl.h>
16 #include <GL/glu.h>
17 #endif
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
23 int init_opengl(void);
25 #ifdef __cplusplus
26 }
27 #endif
29 #endif /* OPENGL_H_ */