libgoatvr

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/opengl.h	Thu Sep 18 10:56:45 2014 +0300
     1.3 @@ -0,0 +1,21 @@
     1.4 +#ifndef VR_OPENGL_H_
     1.5 +#define VR_OPENGL_H_
     1.6 +
     1.7 +#ifdef WIN32
     1.8 +#define WIN32_LEAN_AND_MEAN	1
     1.9 +#include <windows.h>
    1.10 +#endif
    1.11 +
    1.12 +#ifdef __APPLE__
    1.13 +#include <OpenGL/gl.h>
    1.14 +#else
    1.15 +#include <GL/gl.h>
    1.16 +#endif
    1.17 +
    1.18 +#ifdef __unix__
    1.19 +#include <GL/glx.h>
    1.20 +#endif
    1.21 +
    1.22 +void vr_gl_swap_buffers(void);
    1.23 +
    1.24 +#endif	/* VR_OPENGL_H_ */