libgoatvr

view src/opengl.h @ 5:e63cb28fc644

working on the linux side a bit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 18 Sep 2014 10:56:45 +0300
parents
children 3d9ec6fe97d7
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 #else
12 #include <GL/gl.h>
13 #endif
15 #ifdef __unix__
16 #include <GL/glx.h>
17 #endif
19 void vr_gl_swap_buffers(void);
21 #endif /* VR_OPENGL_H_ */