Skip to content

Commit

Permalink
fxaa phone fix
Browse files Browse the repository at this point in the history
Co-Authored-By: RaphaelK12 <[email protected]>
  • Loading branch information
ThirteenAG and RaphaelK12 committed Sep 2, 2024
1 parent 3d51ed2 commit 300ccf4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/postfx.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 300ccf4

Please sign in to comment.