Disable scissor test when clearing on OpenGL (#4029)
This commit is contained in:
@@ -230,9 +230,7 @@ void RenderPass::setScissorRect(MTL::ScissorRect rect) {
|
||||
if (rect.height + rect.y > height) {
|
||||
rect.height = height - rect.y;
|
||||
}
|
||||
if (rect.x != 0 || rect.y != 0 || rect.width != 0 || rect.height != 0) {
|
||||
encoder->setScissorRect(rect);
|
||||
}
|
||||
encoder->setScissorRect(rect);
|
||||
currentScissorRect = rect;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user