Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -484,9 +484,6 @@ void Application::resizeGL(int width, int height) { · 483 unmodified lines | |||
| 484 | resetCamerasOnResizeGL(_viewFrustumOffsetCamera, width, height); | 484 | resetCamerasOnResizeGL(_viewFrustumOffsetCamera, width, height); |
| 485 | resetCamerasOnResizeGL(_myCamera, width, height); | 485 | resetCamerasOnResizeGL(_myCamera, width, height); |
| 486 | 486 | ||
| 487 | // reset the camera FOV to our preference... | ||
| 488 | _myCamera.setFieldOfView(_fieldOfView); | ||
| 489 | |||
| 490 | // resize the render texture | 487 | // resize the render texture |
| 491 | if (OculusManager::isConnected() && _oculusTextureID != 0) { | 488 | if (OculusManager::isConnected() && _oculusTextureID != 0) { |
| 492 | glBindTexture(GL_TEXTURE_2D, _oculusTextureID); | 489 | glBindTexture(GL_TEXTURE_2D, _oculusTextureID); |