libgoatvr

view src/vr_null.c @ 8:3d9ec6fe97d7

- added distortion mesh generation for the OpenHMD module (unfinished) - changed internal implementation function naming to use the vrimp_ prefix - added an opengl helper function to load extension entry points
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 20 Sep 2014 13:22:53 +0300
parents ded3d0a74e19
children
line source
1 #include "vr_impl.h"
3 static int init(void)
4 {
5 return 0;
6 }
8 struct vr_module *vr_module_null(void)
9 {
10 static struct vr_module m;
12 if(!m.init) {
13 m.name = "null";
14 m.init = init;
15 }
16 return &m;
17 }