goat3d

view goatview/src/opengl.h @ 81:7458b8568463

forgot to add opengl.h/c
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 08 May 2014 23:05:29 +0300
parents
children 70b7c41a4f17
line source
1 #ifndef OPENGL_H_
2 #define OPENGL_H_
4 #include <GL/glew.h>
6 #ifdef WIN32
7 #include <windows.h>
8 #endif
10 #ifdef __APPLE__
11 #include <OpenGL/gl.h>
12 #include <OpenGL/glu.h>
13 #else
14 #include <GL/gl.h>
15 #include <GL/glu.h>
16 #endif
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
22 int init_opengl(void);
24 #ifdef __cplusplus
25 }
26 #endif
28 #endif /* OPENGL_G_ */