Re-enable HUD compositing

This commit is contained in:
Brad Davis 2018-01-13 11:34:56 -08:00
parent 8c528be481
commit 3d69ceea71

View file

@ -126,11 +126,11 @@ void CompositeHUD::run(const RenderContextPointer& renderContext) {
}
// Grab the HUD texture
// gpu::doInBatch(renderContext->args->_context, [&](gpu::Batch& batch) {
// if (renderContext->args->_hudOperator) {
// renderContext->args->_hudOperator(batch, renderContext->args->_hudTexture, renderContext->args->_renderMode == RenderArgs::RenderMode::MIRROR_RENDER_MODE);
// }
// });
gpu::doInBatch(renderContext->args->_context, [&](gpu::Batch& batch) {
if (renderContext->args->_hudOperator) {
renderContext->args->_hudOperator(batch, renderContext->args->_hudTexture, renderContext->args->_renderMode == RenderArgs::RenderMode::MIRROR_RENDER_MODE);
}
});
}
void Blit::run(const RenderContextPointer& renderContext, const gpu::FramebufferPointer& srcFramebuffer) {