History

Simplified camera view history and TAA is now working in all circumstances.

Olivier Prat committed 8 years ago

Commit 4636f431 parent 7432c8314 files · +21 −55Browse files

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

Unified · Split

interface/src/Application_render.cpp+1−3
@@ -81,7 +81,6 @@ void Application::paintGL() { · 80 unmodified lines
8181 }
8282
8383 HMDSensorPose = _appRenderArgs._headPose;
84− HMDSensorPrevPose = _appRenderArgs._prevHeadPose;
8584 eyeToWorld = _appRenderArgs._eyeToWorld;
8685 sensorToWorld = _appRenderArgs._sensorToWorld;
8786 isStereo = _appRenderArgs._isStereo;
@@ -93,8 +92,7 @@ void Application::paintGL() { · 5 unmodified lines
9392
9493 {
9594 PROFILE_RANGE(render, "/gpuContextReset");
96− _gpuContext->beginFrame(_appRenderArgs._view, _appRenderArgs._prevView,
97− HMDSensorPose, HMDSensorPrevPose);
95+ _gpuContext->beginFrame(_appRenderArgs._view, HMDSensorPose);
9896 // Reset the gpu::Context Stages
9997 // Back to the default framebuffer;
10098 gpu::doInBatch("Application_render::gpuContextReset", _gpuContext, [&](gpu::Batch& batch) {