libgoatvr

annotate src/opengl.h @ 14:604a9a0a8c37

fixed call to ovrHmd_ConfigureTracking to stop setting the ovrTrackingCap_Idle bit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 25 Sep 2014 07:52:49 +0300
parents e63cb28fc644
children 0fea7c2b25d7
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@5 11 #else
nuclear@5 12 #include <GL/gl.h>
nuclear@5 13 #endif
nuclear@5 14
nuclear@5 15 #ifdef __unix__
nuclear@5 16 #include <GL/glx.h>
nuclear@5 17 #endif
nuclear@5 18
nuclear@8 19 void vrimp_swap_buffers(void);
nuclear@8 20
nuclear@8 21 void (*vrimp_glfunc(const char *name))();
nuclear@5 22
nuclear@5 23 #endif /* VR_OPENGL_H_ */