Enable DoF (+ setting) & fix texture cache leak

This commit is contained in:
Luke Street
2026-04-21 14:52:16 -06:00
parent 1a1faf7d22
commit ccc5dfa8b9
5 changed files with 9 additions and 1 deletions
+3
View File
@@ -1155,6 +1155,9 @@ static void drawDepth2(view_class* param_0, view_port_class* param_1, int param_
GXSetProjection(ortho, GX_ORTHOGRAPHIC);
GXSetCurrentMtx(0);
#ifdef TARGET_PC
if (dusk::getSettings().game.enableDepthOfField)
#endif
if (l_tevColor0.a > -255 && sp8 == 1) {
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
GXPosition3s16(x_orig, y_orig_pos, -5);