nuclear@11: #include "config.h" nuclear@12: #include "opengl.h" nuclear@11: #include "vr.h" nuclear@11: #include "logger.h" nuclear@10: nuclear@10: bool init_goat_graphics() nuclear@10: { nuclear@12: info_log("initializing goat3d graphics\n"); nuclear@10: nuclear@10: glewInit(); nuclear@10: nuclear@11: #ifdef USE_VR nuclear@12: if(vr_init(VR_INIT_OCULUS) == -1) { nuclear@12: fatal_log("failed to initialize the VR system\n"); nuclear@11: return false; nuclear@11: } nuclear@11: #endif nuclear@11: nuclear@10: return true; nuclear@10: } nuclear@10: nuclear@10: void shutdown_goat_graphics() nuclear@10: { nuclear@10: }