History

enable warnings as errors

HifiExperiments committed 1 year ago

Commit 6ff5e171 parent a7805e737 files · +89 −85Browse files

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

Unified · Split

libraries/render-utils/src/RenderCommonTask.cpp+1−1
@@ -324,7 +324,7 @@ public: · 323 unmodified lines
324324 args->_numMirrorFlips += portalExitID != Item::INVALID_ITEM_ID ? 0 : 1;
325325
326326 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);
328328 batch.setContextMirrorViewCorrection(shouldMirror);
329329 });
330330