EmbeddedTexture constructor throws an ArgumentException when the arguments are correct

Issue #12 resolved
Former user created an issue

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)

  1. Log in to comment