See #21151
This commit is contained in:
Henrik Rydgård committed 2026-01-24 10:42:43 +01:00
1 parent bab01f1b16
commit c3897fef4c
2 files changed
+8

No files matched your search

+4
View File
@@ -314,7 +314,11 @@ void DrawEngineD3D11::Flush() {
} }
if (textureNeedsApply) { if (textureNeedsApply) {
gstate_c.dstSquared = false;
textureCache_->ApplyTexture(); 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. // 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) { if (textureNeedsApply) {
gstate_c.pixelMapped = result.pixelMapped; gstate_c.pixelMapped = result.pixelMapped;
gstate_c.dstSquared = false;
textureCache_->ApplyTexture(); textureCache_->ApplyTexture();
if (gstate_c.dstSquared) {
gstate_c.Dirty(DIRTY_BLEND_STATE);
}
gstate_c.pixelMapped = false; gstate_c.pixelMapped = false;
} }