vrchess
view src/vr/vr_null.c @ 6:3c36bc28c6c2
more stuff in the vr test
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 21 Aug 2014 01:08:03 +0300 |
parents | e6948e131526 |
children | bd8202d6d28d |
line source
1 #ifdef WIN32
2 #define WIN32_LEAN_AND_MEAN
3 #include <windows.h>
4 #endif
6 #ifdef __APPLE__
7 #include <OpenGL/gl.h>
8 #else
9 #include <GL/gl.h>
10 #endif
12 #include "vr_impl.h"
14 static int init(void)
15 {
16 return 0;
17 }
19 struct vr_module *vr_module_null(void)
20 {
21 static struct vr_module m;
23 if(!m.init) {
24 m.name = "null";
25 m.init = init;
26 }
27 return &m;
28 }