mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
1 parent
bab01f1b16
commit
c3897fef4c
2 files changed
+8
No files matched your search
@@ -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.
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user