- changed status to resolved
EmbeddedTexture constructor throws an ArgumentException when the arguments are correct
Issue #12
resolved
The check looks like this:
if((m_width * m_height) == NonCompressedDataSize) throw new ArgumentException("Texel data size does not match width * height.");
It's using the wrong operator. It should look like this:
if((m_width * m_height) != NonCompressedDataSize) throw new ArgumentException("Texel data size does not match width * height.");
Comments (1)
-
repo owner - Log in to comment
Thanks, pushed the fix