History

fix backwards HUD in mirror mode

SamGondelman committed 9 years ago

Commit 046e5ca1 parent 03b46c511 files · +69 −16Browse files

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

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+1−1
@@ -441,7 +441,7 @@ void CompositeHUD::run(const RenderContextPointer& renderContext) { · 440 unmodified lines
441 // Grab the HUD texture441 // Grab the HUD texture
442 gpu::doInBatch(renderContext->args->_context, [&](gpu::Batch& batch) {442 gpu::doInBatch(renderContext->args->_context, [&](gpu::Batch& batch) {
443 if (renderContext->args->_hudOperator) {443 if (renderContext->args->_hudOperator) {
444 renderContext->args->_hudOperator(batch, renderContext->args->_hudTexture);444 renderContext->args->_hudOperator(batch, renderContext->args->_hudTexture, renderContext->args->_renderMode == RenderArgs::RenderMode::MIRROR_RENDER_MODE);
445 }445 }
446 });446 });
447}447}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t