goat3d

view goatview/src/opengl.h @ 93:07c0ec4a410d

[goatview] line endings fix and missing post_redisplay in load_scene
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 18 May 2014 06:20:20 +0300
parents c1871707c678
children
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 #define WIN32_LEAN_AND_MEAN 1
9 #include <windows.h>
10 #undef min
11 #endif
13 #ifdef __APPLE__
14 #include <OpenGL/gl.h>
15 #include <OpenGL/glu.h>
16 #else
17 #include <GL/gl.h>
18 #include <GL/glu.h>
19 #endif
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
25 int init_opengl(void);
27 #ifdef __cplusplus
28 }
29 #endif
31 #endif /* OPENGL_H_ */