Disable scissor test when clearing on OpenGL (#4029)
This commit is contained in:
@@ -72,7 +72,8 @@ void RenderTarget::render(RenderOrchestrator& orchestrator, const RenderTree& re
|
||||
.clearStencil = {}});
|
||||
|
||||
const gfx::ScissorRect prevScissorRect = parameters.scissorRect;
|
||||
parameters.scissorRect = {.x = 0, .y = 0, .width = 0, .height = 0};
|
||||
const auto& size = getTexture()->getSize();
|
||||
parameters.scissorRect = {.x = 0, .y = 0, .width = size.width, .height = size.height};
|
||||
|
||||
// Run layer tweakers to update any dynamic elements
|
||||
parameters.currentLayer = 0;
|
||||
|
||||
Reference in New Issue
Block a user