Cavewhere / cavewhere

3D Cave Mapping Software
https://cavewhere.com
GNU General Public License v3.0
34 stars 8 forks source link

MacOS testcases fail for DXT1 pixel comparison #152

Closed vpicaver closed 4 years ago

vpicaver commented 4 years ago

Example of failure:

/Users/philip/cavewhere/cavewhere/testcases/DXT1BlockCompare.cpp:40: FAILED: CHECK( cwOpenGLUtils::fuzzyCompareColors(color, decompressedColor) <= 10 ) with expansion: 16 <= 10 with messages: BlockIndex:14 ImageIndex:56 Image block index:3 Color:#0000cc DecompressedColor:#0000d0

/Users/philip/cavewhere/cavewhere/testcases/DXT1BlockCompare.cpp:40: FAILED: CHECK( cwOpenGLUtils::fuzzyCompareColors(color, decompressedColor) <= 10 ) with expansion: 16 <= 10 with messages: BlockIndex:15 ImageIndex:60 Image block index:3 Color:#0000dd DecompressedColor:#0000e1

Just expand the difference to 18