Showing the changes to libraries/render-utils/src/RenderCommonTask.cpp (1 of 37 files). Show all
Unified · Split
| @@ -324,7 +324,7 @@ public: · 323 unmodified lines | ||
| 324 | 324 | args->_numMirrorFlips += portalExitID != Item::INVALID_ITEM_ID ? 0 : 1; |
| 325 | 325 | |
| 326 | 326 | gpu::doInBatch("SetupMirrorTask::run", args->_context, [&](gpu::Batch& batch) { |
| 327 | − bool shouldMirror = args->_numMirrorFlips % 2 == (args->_renderMode != RenderArgs::MIRROR_RENDER_MODE); | |
| 327 | + bool shouldMirror = args->_numMirrorFlips % 2 == (args->_renderMode != RenderArgs::MIRROR_RENDER_MODE ? 1 : 0); | |
| 328 | 328 | batch.setContextMirrorViewCorrection(shouldMirror); |
| 329 | 329 | }); |
| 330 | 330 | |