mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Vulkan: Correct viewport flag reset on rebind.
Can't break since we're checking two separate flags.
This commit is contained in:
1 parent
8fa84fd717
commit
c8f8d55118
3 files changed
+2
-4
No files matched your search
@@ -481,10 +481,8 @@ void VulkanRenderManager::BindFramebufferAsRenderTarget(VKRFramebuffer *fb, VKRR
|
||||
for (const auto &c : steps_.back()->commands) {
|
||||
if (c.cmd == VKRRenderCommand::VIEWPORT) {
|
||||
curStepHasViewport_ = true;
|
||||
break;
|
||||
} else if (c.cmd == VKRRenderCommand::SCISSOR) {
|
||||
curStepHasScissor_ = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (clearMask != 0) {
|
||||
|
||||
Reference in new issue
Block a user