neoragex2015 / nvidia-texture-tools

Automatically exported from code.google.com/p/nvidia-texture-tools
Other
0 stars 0 forks source link

ImageIO: nvDebugCheck failing on valid paletted TGA images (patch) #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In nvimage/ImageIO.cpp, on line 269, the debug check is :

{{{
nvDebugCheck(tga.colormap_length < 256);
}}}

but paletted textures can/will have 256 palette entries. The check should be 

{{{
nvDebugCheck(tga.colormap_length <= 256);
}}}

Original issue reported on code.google.com by nicolas....@gtempaccount.com on 1 Jun 2010 at 12:37

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1103.

Original comment by cast...@gmail.com on 1 Jun 2010 at 5:52

GoogleCodeExporter commented 9 years ago
Thanks for the bug report!

Original comment by cast...@gmail.com on 1 Jun 2010 at 5:52