Toggles the display mode if a Rift is found connected at program start.
Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all
Unified · Split
| @@ -1369,6 +1369,9 @@ void Application::setEnable3DTVMode(bool enable3DTVMode) { · 1368 unmodified lines | ||
| 1369 | 1369 | resizeGL(_glWidget->width(),_glWidget->height()); |
| 1370 | 1370 | } |
| 1371 | 1371 | |
| 1372 | +void Application::setEnableVRMode(bool enableVRMode) { | |
| 1373 | + resizeGL(_glWidget->width(), _glWidget->height()); | |
| 1374 | +} | |
| 1372 | 1375 | |
| 1373 | 1376 | void Application::setRenderVoxels(bool voxelRender) { |
| 1374 | 1377 | _voxelEditSender.setShouldSend(voxelRender); |