summaryrefslogtreecommitdiff
path: root/src/egg/gfx/eggCpuTexture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/egg/gfx/eggCpuTexture.cpp')
-rw-r--r--src/egg/gfx/eggCpuTexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egg/gfx/eggCpuTexture.cpp b/src/egg/gfx/eggCpuTexture.cpp
index c0d9cd8e..c422b17d 100644
--- a/src/egg/gfx/eggCpuTexture.cpp
+++ b/src/egg/gfx/eggCpuTexture.cpp
@@ -188,7 +188,7 @@ void CpuTexture::fillNormalMapSphere(f32 f1, f32 f2) {
// TODO: std::sqrtf?
vec(2) = fz < Math<f32>::zero() ? Math<f32>::zero() : (f32)sqrt(fz);
- PSVECNormalize(vec, vec);
+ VECNormalize(vec, vec);
GXUtility::getNormalColor(c, vec);
c.r = c.a;
setColor(x, y, c);