summaryrefslogtreecommitdiff
path: root/src/egg/gfx/eggLightTextureMgr.cpp
diff options
context:
space:
mode:
authorrobojumper <robojumper@gmail.com>2026-01-18 12:27:37 +0100
committerrobojumper <robojumper@gmail.com>2026-01-18 12:27:37 +0100
commit679541bee2a8053a1a1a8e1493886512d5bda5f9 (patch)
treefd74077c99baf915e78ab0f595c5929d70325b83 /src/egg/gfx/eggLightTextureMgr.cpp
parentdf5bd1a7b50bf21f2ea9bd250a4f64053c0ac431 (diff)
More symbols from NSMBW
Diffstat (limited to 'src/egg/gfx/eggLightTextureMgr.cpp')
-rw-r--r--src/egg/gfx/eggLightTextureMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egg/gfx/eggLightTextureMgr.cpp b/src/egg/gfx/eggLightTextureMgr.cpp
index e9d0b27a..09de2e1e 100644
--- a/src/egg/gfx/eggLightTextureMgr.cpp
+++ b/src/egg/gfx/eggLightTextureMgr.cpp
@@ -204,7 +204,7 @@ void LightTextureManager::drawAndCaptureTexture(f32 ox, f32 oy, f32 sx, f32 sy)
u16 x1, y1, x2, y2;
TextureBuffer *buf = nullptr;
- LightTexture::getTexDimensions(&x1, &y1, &x2, &y2, mTextureCount);
+ LightTexture::getRequiredPosAndSize(&x1, &y1, &x2, &y2, mTextureCount);
x2 += x2 & 3;
y2 += y2 & 3;