conworlds

view src/vr/vr_null.c @ 5:8b7da5ab814e

vr wrapper in progress
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 20 Aug 2014 16:34:43 +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 }