libgoatvr

view src/vr_null.c @ 7:6896f9cf9621

- configure now emits config.status with the current confure invocation - now vr_init will heed the VR_MODULE env var for the name of the module to use - more stuff on the openhmd module
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 19 Sep 2014 15:16:51 +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 }