arturoc / nvidia-texture-tools

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

incorrect nvCheck ; unfilled member value #190

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
in void CompressionOptions::setPixelFormat(uint8 rsize, uint8 gsize, uint8 
bsize, uint8 asize) :

- the nvCheck should have && instead of ||
- bitcount is left to zero but computed in CompressionOptions::d3d9Format().
  shouldn't it be filled in inside setPixelFormat ?

Original issue reported on code.google.com by pierre.m...@gmail.com on 25 Jun 2013 at 3:05

GoogleCodeExporter commented 8 years ago
Good catch! The assert was wrong and I've just fixed it. Bitcount is 0 
intentionally, this is to indicate that the pixel format is described by the 
*size attributes instead of bitCount and the *mask attributes.

Original comment by cast...@gmail.com on 25 Jun 2013 at 5:02

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r1369.

Original comment by cast...@gmail.com on 25 Jun 2013 at 5:03