From 300ccf4230c36d90d75e5ba36a23409b8ffe4aae Mon Sep 17 00:00:00 2001 From: ThirteenAG Date: Mon, 2 Sep 2024 22:31:27 +0800 Subject: [PATCH] fxaa phone fix Co-Authored-By: RaphaelK12 <38438130+RaphaelK12@users.noreply.github.com> --- source/postfx.ixx | 1 + 1 file changed, 1 insertion(+) diff --git a/source/postfx.ixx b/source/postfx.ixx index c1ef5cf6..20487241 100644 --- a/source/postfx.ixx +++ b/source/postfx.ixx @@ -1095,6 +1095,7 @@ private: pDevice->SetTexture(2, PostFxResources.textureRead); hr = pDevice->DrawPrimitive(D3DPT_TRIANGLELIST, 0, 2); + pDevice->SetTexture(2, PostFxResources.renderTargetTex); //PostFxResources.swapbuffers(); pDevice->SetSamplerState(2, D3DSAMP_SRGBTEXTURE, 0); //pDevice->SetTexture(2, 0);