diff options
author | Martin Kiewitz | 2016-02-05 17:03:38 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-05 17:03:38 +0100 |
commit | a7ffda3ba1601f4eb7a611d7283d0431fe14aa1c (patch) | |
tree | 756f213b8fce63811bbe9aa3190ed0e8bf20f212 | |
parent | f09a15f27636149b267d0e0b23a9dcfa4bc8c854 (diff) | |
download | scummvm-rg350-a7ffda3ba1601f4eb7a611d7283d0431fe14aa1c.tar.gz scummvm-rg350-a7ffda3ba1601f4eb7a611d7283d0431fe14aa1c.tar.bz2 scummvm-rg350-a7ffda3ba1601f4eb7a611d7283d0431fe14aa1c.zip |
AGI: fix build powf() -> pow()
-rw-r--r-- | engines/agi/graphics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp index cfe65993cd..bbdbaba9e5 100644 --- a/engines/agi/graphics.cpp +++ b/engines/agi/graphics.cpp @@ -835,7 +835,7 @@ void GfxMgr::initPaletteCLUT(uint8 *destPalette, const uint16 *paletteCLUTData, for (uint componentNr = 0; componentNr < 3; componentNr++) { // RGB component byte component = (paletteCLUTData[colorNr * 3 + componentNr] >> 8); // Adjust gamma (1.8 to 2.2) - component = (byte)(255 * powf(component / 255.0f, 0.8181f)); + component = (byte)(255 * pow(component / 255.0f, 0.8181f)); destPalette[colorNr * 3 + componentNr] = component; } } |