Showing the changes to libraries/render-utils/src/DeferredFrameTransform.cpp (1 of 12 files). Show all
Unified · Split
| @@ -39,7 +39,7 @@ void DeferredFrameTransform::update(RenderArgs* args) { · 38 unmodified lines | ||
| 39 | 39 | args->getViewFrustum().evalProjectionMatrix(frameTransformBuffer.projectionMono); |
| 40 | 40 | |
| 41 | 41 | // Running in stero ? |
| 42 | − bool isStereo = args->_context->isStereo(); | |
| 42 | + bool isStereo = args->isStereo(); | |
| 43 | 43 | if (!isStereo) { |
| 44 | 44 | frameTransformBuffer.projection[0] = frameTransformBuffer.projectionMono; |
| 45 | 45 | frameTransformBuffer.stereoInfo = glm::vec4(0.0f, (float)args->_viewport.z, 0.0f, 0.0f); |