commit | b43722c3dd69a90f0d0665912bd543aa12521c58 | [log] [tgz] |
---|---|---|
author | Duane Sand <duane.sand@imgtec.com> | Wed Mar 27 10:53:14 2013 -0700 |
committer | Duane Sand <duane.sand@imgtec.com> | Wed Mar 27 10:53:14 2013 -0700 |
tree | 57f9554a55ee8a8d40c5f6f9053f9f14d8c55936 | |
parent | cd91024ca16db96daa697e22f7a088b416a424e3 [diff] [blame] |
[MIPS] Add MIPS architecture support to libagl Change-Id: I30eb92857a2a6ea867fe0ee45109f17609043aae
diff --git a/opengl/libagl/fp.cpp b/opengl/libagl/fp.cpp index ae5f1fe..aea4449 100644 --- a/opengl/libagl/fp.cpp +++ b/opengl/libagl/fp.cpp
@@ -19,7 +19,7 @@ // ---------------------------------------------------------------------------- -#if !defined(__arm__) +#if !defined(__arm__) && !defined(__mips__) GGLfixed gglFloatToFixed(float v) { return GGLfixed(floorf(v * 65536.0f + 0.5f)); }