conworlds

diff src/vr/vr_modules.c @ 10:e3f0ca1d008a

added preliminary OpenHMD module
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 22 Aug 2014 20:11:15 +0300
parents e6948e131526
children
line diff
     1.1 --- a/src/vr/vr_modules.c	Fri Aug 22 18:48:25 2014 +0300
     1.2 +++ b/src/vr/vr_modules.c	Fri Aug 22 20:11:15 2014 +0300
     1.3 @@ -4,6 +4,7 @@
     1.4  #include "vr_impl.h"
     1.5  
     1.6  struct vr_module *vr_module_libovr(void);
     1.7 +struct vr_module *vr_module_openhmd(void);
     1.8  struct vr_module *vr_module_null(void);
     1.9  
    1.10  static struct vr_module *modules;
    1.11 @@ -23,11 +24,13 @@
    1.12  		vr_register_module(m);
    1.13  	}
    1.14  
    1.15 +	if((m = vr_module_openhmd())) {
    1.16 +		vr_register_module(m);
    1.17 +	}
    1.18 +
    1.19  	if((m = vr_module_null())) {
    1.20  		vr_register_module(m);
    1.21  	}
    1.22 -
    1.23 -	/* more ... */
    1.24  }
    1.25  
    1.26  void vr_clear_modules(void)