summaryrefslogtreecommitdiff
path: root/src/d/d_map.cpp
diff options
context:
space:
mode:
authorroeming <brother64youyou@gmail.com>2026-01-10 16:38:04 -0500
committerGitHub <noreply@github.com>2026-01-10 23:38:04 +0200
commit562f4d0d650a0516272de407d18891b86dddf7ad (patch)
tree262057c976d891bd52d7bf48a7d4e0b2641b7542 /src/d/d_map.cpp
parent2d4a8ee46a04ad49313f35c9062f8194de36deb2 (diff)
first round of constants cleanup (#3021)
* first round of constants cleanup * move m_PI_D definition * remove compatibility comment * add future version of angle subtracting with/without cast * whitespace change to run builds again
Diffstat (limited to 'src/d/d_map.cpp')
-rw-r--r--src/d/d_map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_map.cpp b/src/d/d_map.cpp
index 922a0aea39..a26715f9d7 100644
--- a/src/d/d_map.cpp
+++ b/src/d/d_map.cpp
@@ -775,7 +775,7 @@ void dMap_c::changeTextureSize(int param_1, int param_2, int param_3) {
mTexSizeH = param_2 >> param_3;
u32 imageSize = GXGetTexBufferSize(mTexSizeW, mTexSizeH, 9, 0, 0);
- OS_REPORT("imageSize<%d> <%d kbyte>mTexSizeW<%d>mTexSizeH<%d>\n", imageSize, imageSize * 0.0009765625f, mTexSizeW, mTexSizeH);
+ OS_REPORT("imageSize<%d> <%d kbyte>mTexSizeW<%d>mTexSizeH<%d>\n", imageSize, imageSize * (1.0f / 1024.f), mTexSizeW, mTexSizeH);
JUT_ASSERT(2682, mImage_p != NULL);