summaryrefslogtreecommitdiffstats
path: root/opengl/libagl/fp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opengl/libagl/fp.cpp')
-rw-r--r--opengl/libagl/fp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl/libagl/fp.cpp b/opengl/libagl/fp.cpp
index aea4449..a7a4f7b 100644
--- a/opengl/libagl/fp.cpp
+++ b/opengl/libagl/fp.cpp
@@ -19,7 +19,7 @@
// ----------------------------------------------------------------------------
-#if !defined(__arm__) && !defined(__mips__)
+#if !(defined(__arm__) || (defined(__mips__) && !defined(__LP64__) && __mips_isa_rev < 6))
GGLfixed gglFloatToFixed(float v) {
return GGLfixed(floorf(v * 65536.0f + 0.5f));
}