History

Apply the projection and deferred transform fixes found while working on spectator camera

Sam Gateau committed 9 years ago

Commit 93963b31 parent e4a967412 files · +49 −8Browse files

Showing the changes to libraries/render-utils/src/DeferredFrameTransform.cpp (1 of 12 files). Show all

Unified · Split

libraries/render-utils/src/DeferredFrameTransform.cpp+1−1
@@ -39,7 +39,7 @@ void DeferredFrameTransform::update(RenderArgs* args) { · 38 unmodified lines
3939 args->getViewFrustum().evalProjectionMatrix(frameTransformBuffer.projectionMono);
4040
4141 // Running in stero ?
42− bool isStereo = args->_context->isStereo();
42+ bool isStereo = args->isStereo();
4343 if (!isStereo) {
4444 frameTransformBuffer.projection[0] = frameTransformBuffer.projectionMono;
4545 frameTransformBuffer.stereoInfo = glm::vec4(0.0f, (float)args->_viewport.z, 0.0f, 0.0f);