goat3dgfx
view 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 source
1 #include "config.h"
2 #include "opengl.h"
3 #include "vr.h"
4 #include "logger.h"
6 bool init_goat_graphics()
7 {
8 info_log("initializing goat3d graphics\n");
10 glewInit();
12 #ifdef USE_VR
13 if(vr_init(VR_INIT_OCULUS) == -1) {
14 fatal_log("failed to initialize the VR system\n");
15 return false;
16 }
17 #endif
19 return true;
20 }
22 void shutdown_goat_graphics()
23 {
24 }