mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-11 01:25:07 +02:00
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user