See #21151
This commit is contained in:
Henrik Rydgård
2026-01-24 10:42:43 +01:00
parent bab01f1b16
commit c3897fef4c
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -314,7 +314,11 @@ void DrawEngineD3D11::Flush() {
}
if (textureNeedsApply) {
gstate_c.dstSquared = false;
textureCache_->ApplyTexture();
if (gstate_c.dstSquared) {
gstate_c.Dirty(DIRTY_BLEND_STATE);
}
}
// Need to ApplyDrawState after ApplyTexture because depal can launch a render pass and that wrecks the state.
+4
View File
@@ -398,7 +398,11 @@ void DrawEngineGLES::Flush() {
if (textureNeedsApply) {
gstate_c.pixelMapped = result.pixelMapped;
gstate_c.dstSquared = false;
textureCache_->ApplyTexture();
if (gstate_c.dstSquared) {
gstate_c.Dirty(DIRTY_BLEND_STATE);
}
gstate_c.pixelMapped = false;
}