mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Set the texture dirty flags when binding a new framebuffer.
This commit is contained in:
1 parent
9b283355a3
commit
b6efc65c94
5 files changed
+6
-5
No files matched your search
@@ -603,7 +603,8 @@ void DrawEngineVulkan::DoFlush() {
|
||||
int curRenderStepId = renderManager->GetCurrentStepId();
|
||||
if (lastRenderStepId_ != curRenderStepId) {
|
||||
// Dirty everything that has dynamic state that will need re-recording.
|
||||
gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_DEPTHSTENCIL_STATE | DIRTY_BLEND_STATE);
|
||||
gstate_c.Dirty(DIRTY_VIEWPORTSCISSOR_STATE | DIRTY_DEPTHSTENCIL_STATE | DIRTY_BLEND_STATE | DIRTY_TEXTURE_IMAGE | DIRTY_TEXTURE_PARAMS);
|
||||
textureCache_->ForgetLastTexture();
|
||||
lastRenderStepId_ = curRenderStepId;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user