X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=laserbrain_demo;a=blobdiff_plain;f=src%2Fapp.cc;h=b1587f5e4652811cde3c74f5308de266934a7f17;hp=7fc5c13a581151b9acc7f0cc764724378e133f08;hb=0d4fe99398b649a5471417f8497a828b5f128da1;hpb=92e1b315a32da123b2f8d7bb633375033a10c66d diff --git a/src/app.cc b/src/app.cc index 7fc5c13..b1587f5 100644 --- a/src/app.cc +++ b/src/app.cc @@ -147,8 +147,6 @@ bool app_init(int argc, char **argv) float ambient[] = {0.0, 0.0, 0.0, 0.0}; glLightModelfv(GL_LIGHT_MODEL_AMBIENT, ambient); - glClearColor(1, 1, 1, 1); - init_audio(); if(!init_vrhands()) { @@ -386,6 +384,8 @@ void app_display() ImGui::ShowTestWindow(); } + glClearColor(1, 1, 1, 1); + if(opt.vr) { // VR mode goatvr_draw_start();