History

Working on SDK 0.6

Bradley Austin Davis committed 11 years ago

Commit 5a52a381 parent de268c47 files · +42 −43Browse files

Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all

Unified · Split

interface/src/Application.cpp+3−0
@@ -1861,6 +1861,9 @@ void Application::setEnableVRMode(bool enableVRMode) { · 1860 unmodified lines
18611861 // for the sixense crash
18621862 OculusManager::disconnect();
18631863 OculusManager::connect(_glWidget->context()->contextHandle());
1864+ _glWidget->setFocus();
1865+ _glWidget->makeCurrent();
1866+ glClear(GL_COLOR_BUFFER_BIT);
18641867 }
18651868 OculusManager::recalibrate();
18661869 } else {