Showing the changes to interface/src/Application.cpp (1 of 7 files). Show all
Unified · Split
| @@ -1861,6 +1861,9 @@ void Application::setEnableVRMode(bool enableVRMode) { · 1860 unmodified lines | ||
| 1861 | 1861 | // for the sixense crash |
| 1862 | 1862 | OculusManager::disconnect(); |
| 1863 | 1863 | OculusManager::connect(_glWidget->context()->contextHandle()); |
| 1864 | + _glWidget->setFocus(); | |
| 1865 | + _glWidget->makeCurrent(); | |
| 1866 | + glClear(GL_COLOR_BUFFER_BIT); | |
| 1864 | 1867 | } |
| 1865 | 1868 | OculusManager::recalibrate(); |
| 1866 | 1869 | } else { |