libgoatvr

annotate 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
rev   line source
nuclear@5 1 #ifndef VR_OPENGL_H_
nuclear@5 2 #define VR_OPENGL_H_
nuclear@5 3
nuclear@5 4 #ifdef WIN32
nuclear@5 5 #define WIN32_LEAN_AND_MEAN 1
nuclear@5 6 #include <windows.h>
nuclear@5 7 #endif
nuclear@5 8
nuclear@5 9 #ifdef __APPLE__
nuclear@5 10 #include <OpenGL/gl.h>
nuclear@23 11 #include <OpenGL/glext.h>
nuclear@5 12 #else
nuclear@5 13 #include <GL/gl.h>
nuclear@5 14 #endif
nuclear@5 15
nuclear@5 16 #ifdef __unix__
nuclear@5 17 #include <GL/glx.h>
nuclear@5 18 #endif
nuclear@5 19
nuclear@8 20 void vrimp_swap_buffers(void);
nuclear@8 21
nuclear@8 22 void (*vrimp_glfunc(const char *name))();
nuclear@5 23
nuclear@5 24 #endif /* VR_OPENGL_H_ */