diff options
| author | MegaMech <MegaMech@users.noreply.github.com> | 2025-06-07 21:03:26 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-07 21:03:26 -0600 |
| commit | 0b3d9ca44d98c727a6eeeb662a1d6e8dafbdb34a (patch) | |
| tree | ce3326793bc13d5954e6a0340bdf9b5bdb310e28 | |
| parent | 64cc6a76621b95f963617ca30be4dc67b8996630 (diff) | |
Update framebuffer_effects.c
| -rw-r--r-- | src/racing/framebuffer_effects.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/racing/framebuffer_effects.c b/src/racing/framebuffer_effects.c index a89df5b40..8c27cade6 100644 --- a/src/racing/framebuffer_effects.c +++ b/src/racing/framebuffer_effects.c @@ -3,6 +3,7 @@ #include "mk64.h" #include <assets/common_data.h> #include "port/Engine.h" +#include "port/interpolation/matrix.h" #include "math_util.h" #include <stdio.h> @@ -37,7 +38,7 @@ void FB_CreateFramebuffers(void) { void FB_CopyToFramebuffer(Gfx** gfxP, s32 fb_src, s32 fb_dest, u8 oncePerFrame, u8* hasCopied) { Gfx* gfx = *gfxP; - // gSPMatrix(gfx++, &gIdentityMatrix, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); + gSPMatrix(gfx++, &gIdentityMatrix, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); gDPSetOtherMode(gfx++, G_AD_DISABLE | G_CD_DISABLE | G_CK_NONE | G_TC_FILT | G_TF_POINT | G_TT_NONE | G_TL_TILE | @@ -110,7 +111,7 @@ void FB_WriteFramebufferSliceToCPU(Gfx** gfxP, void* buffer, u8 byteSwap) { void FB_DrawFromFramebuffer(Gfx** gfxP, s32 fb, u8 alpha) { Gfx* gfx = *gfxP; - //gSPMatrix(gfx++, &gIdentityMatrix, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); + gSPMatrix(gfx++, &gIdentityMatrix, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); gDPSetEnvColor(gfx++, 255, 255, 255, alpha); |
