diff options
author | Thomas Dinges <blender@dingto.org> | 2013-07-20 04:21:16 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-07-20 04:21:16 +0400 |
commit | e3c9fcd1bbcc2965c909b5c81bd133c851e5b1e7 (patch) | |
tree | fb64bfa8368407085e93b5bdcd115c5516a657ea | |
parent | 4b0f50597f9c625b55e97c579db7b4159dc22372 (diff) |
* Compile fix for overloaded pow() function.
-rw-r--r-- | source/gameengine/Ketsji/KX_FontObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_FontObject.cpp b/source/gameengine/Ketsji/KX_FontObject.cpp index 162c1f8d294..63f715779f3 100644 --- a/source/gameengine/Ketsji/KX_FontObject.cpp +++ b/source/gameengine/Ketsji/KX_FontObject.cpp @@ -184,7 +184,7 @@ void KX_FontObject::DrawText() if(c < 0.0031308) c = (c < 0.0) ? 0.0: c * 12.92; else - c = 1.055 * pow(c, 1.0/2.4) - 0.055; + c = 1.055 * pow(c, 1.0f/2.4f) - 0.055; color[i] = c; } else |