diff options
author | prep <none@none> | 2012-03-13 15:48:24 -0400 |
---|---|---|
committer | prep <none@none> | 2012-03-13 15:48:24 -0400 |
commit | fab57eea612f34ed9d8c8559674ead1760aab42b (patch) | |
tree | 51394d44e1b89bb75d168464aec539f60f44f8cd /indra/newview/tests | |
parent | 87b414c4934d0d52eef0b323245568bb1e95ec70 (diff) | |
parent | 00717147d2b832fa3239267edf409f0a1dfcd9fd (diff) |
pull and merge from viewer-development
Diffstat (limited to 'indra/newview/tests')
-rw-r--r-- | indra/newview/tests/llworldmipmap_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/tests/llworldmipmap_test.cpp b/indra/newview/tests/llworldmipmap_test.cpp index 4c0959d1a9..e7ef017760 100644 --- a/indra/newview/tests/llworldmipmap_test.cpp +++ b/indra/newview/tests/llworldmipmap_test.cpp @@ -100,9 +100,9 @@ namespace tut { S32 level = mMap->scaleToLevel(0.0); ensure("scaleToLevel() test 1 failed", level == LLWorldMipmap::MAP_LEVELS); - level = mMap->scaleToLevel(LLWorldMipmap::MAP_TILE_SIZE); + level = mMap->scaleToLevel((F32)LLWorldMipmap::MAP_TILE_SIZE); ensure("scaleToLevel() test 2 failed", level == 1); - level = mMap->scaleToLevel(10 * LLWorldMipmap::MAP_TILE_SIZE); + level = mMap->scaleToLevel(10.f * LLWorldMipmap::MAP_TILE_SIZE); ensure("scaleToLevel() test 3 failed", level == 1); } // Test 2 : globalToMipmap() |