Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -1860,8 +1860,7 @@ void Application::setEnableVRMode(bool enableVRMode) { · 1859 unmodified lines | ||
| 1860 | 1860 | // attempt to reconnect the Oculus manager - it's possible this was a workaround |
| 1861 | 1861 | // for the sixense crash |
| 1862 | 1862 | OculusManager::disconnect(); |
| 1863 | − _glWidget->makeCurrent(); | |
| 1864 | − OculusManager::connect(); | |
| 1863 | + OculusManager::connect(_glWidget->context()->contextHandle()); | |
| 1865 | 1864 | } |
| 1866 | 1865 | OculusManager::recalibrate(); |
| 1867 | 1866 | } else { |