goat3dgfx
diff src/goat3dgfx.cc @ 12:1868c5975f31
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 24 Nov 2013 18:18:38 +0200 |
parents | d061fe1a31ec |
children | 25bf39105c82 |
line diff
1.1 --- a/src/goat3dgfx.cc Sun Nov 24 14:00:14 2013 +0200 1.2 +++ b/src/goat3dgfx.cc Sun Nov 24 18:18:38 2013 +0200 1.3 @@ -1,17 +1,17 @@ 1.4 #include "config.h" 1.5 -#include "goat3dgfx.h" 1.6 +#include "opengl.h" 1.7 #include "vr.h" 1.8 #include "logger.h" 1.9 1.10 bool init_goat_graphics() 1.11 { 1.12 - log_info("initializing goat3d graphics\n"); 1.13 + info_log("initializing goat3d graphics\n"); 1.14 1.15 glewInit(); 1.16 1.17 #ifdef USE_VR 1.18 - if(vr_init() == -1) { 1.19 - log_fatal("failed to initialize the VR system\n"); 1.20 + if(vr_init(VR_INIT_OCULUS) == -1) { 1.21 + fatal_log("failed to initialize the VR system\n"); 1.22 return false; 1.23 } 1.24 #endif