mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-14 16:07:01 +02:00
Re-enable HUD compositing
This commit is contained in:
parent
8c528be481
commit
3d69ceea71
1 changed files with 5 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue