summaryrefslogtreecommitdiff
path: root/src/egg/gfx/eggPostEffectMaskDOF.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2026-05-07 19:53:30 +0200
committerrobojumper <robojumper@gmail.com>2026-05-07 19:53:30 +0200
commitd8744e1f34e9955d55a5605f939bdf0bf9d8a729 (patch)
tree944f80d4d212332abeb1f7607396fc7c7a38a70d /src/egg/gfx/eggPostEffectMaskDOF.cpp
parentddb116187922a3f73ae3c97a136f499b7d724a2c (diff)
MTX/VEC cleanup
Diffstat (limited to 'src/egg/gfx/eggPostEffectMaskDOF.cpp')
-rw-r--r--src/egg/gfx/eggPostEffectMaskDOF.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egg/gfx/eggPostEffectMaskDOF.cpp b/src/egg/gfx/eggPostEffectMaskDOF.cpp
index b340038b..987d36c1 100644
--- a/src/egg/gfx/eggPostEffectMaskDOF.cpp
+++ b/src/egg/gfx/eggPostEffectMaskDOF.cpp
@@ -101,8 +101,8 @@ void PostEffectMaskDOF::draw(f32 width, f32 height) {
GXSetVtxAttrFmt(GX_VTXFMT0, GX_VA_TEX1, GX_TEX_ST, GX_F32, 0);
GXSetVtxDesc(GX_VA_TEX1, GX_DIRECT);
nw4r::math::MTX34 mtx;
- PSMTXScale(mtx, width * mScaleX, height * mScaleY, 1.f);
- PSMTXTransApply(mtx, mtx, mOffsetX, mOffsetY, 0.f);
+ MTXScale(mtx, width * mScaleX, height * mScaleY, 1.f);
+ MTXTransApply(mtx, mtx, mOffsetX, mOffsetY, 0.f);
GXLoadPosMtxImm(mtx, GX_PNMTX0);
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
GXPosition2u8(0, 0);