libgoatvr
view src/opengl.h @ 24:d659cbedde1d
works on linux with 0.4.4
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 14 Jan 2015 08:03:27 +0200 |
parents | 3d9ec6fe97d7 |
children | 1a8343ea54ce |
line source
1 #ifndef VR_OPENGL_H_
2 #define VR_OPENGL_H_
4 #ifdef WIN32
5 #define WIN32_LEAN_AND_MEAN 1
6 #include <windows.h>
7 #endif
9 #ifdef __APPLE__
10 #include <OpenGL/gl.h>
11 #include <OpenGL/glext.h>
12 #else
13 #include <GL/gl.h>
14 #endif
16 #ifdef __unix__
17 #include <GL/glx.h>
18 #endif
20 void vrimp_swap_buffers(void);
22 void (*vrimp_glfunc(const char *name))();
24 #endif /* VR_OPENGL_H_ */