mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
gl-render-manager: Support scissored clears, as used by the GL backend. Fixes GT.
This commit is contained in:
1 parent
67b8c4527d
commit
5351c9ddb3
7 files changed
+33
-13
No files matched your search
@@ -203,11 +203,14 @@ void GLRenderManager::BindFramebufferAsRenderTarget(GLRFramebuffer *fb, GLRRende
|
||||
data.clear.clearStencil = clearStencil;
|
||||
}
|
||||
if (clearMask) {
|
||||
data.clear.scissorX = 0;
|
||||
data.clear.scissorY = 0;
|
||||
data.clear.scissorW = 0;
|
||||
data.clear.scissorH = 0;
|
||||
data.clear.clearMask = clearMask;
|
||||
data.clear.colorMask = 0xF;
|
||||
step->commands.push_back(data);
|
||||
}
|
||||
|
||||
curRenderStep_ = step;
|
||||
|
||||
// Every step clears this state.
|
||||
|
||||
Reference in new issue
Block a user