Fix assertion.

This commit is contained in:
castano 2008-06-26 07:23:31 +00:00
parent a1a34f546f
commit f412ec8efb

View File

@ -47,7 +47,7 @@ struct MyOutputHandler : public nvtt::OutputHandler
virtual void beginImage(int size, int width, int height, int depth, int face, int miplevel) virtual void beginImage(int size, int width, int height, int depth, int face, int miplevel)
{ {
assert(size == sizeof(int) * OUTPUT_SIZE); assert(size <= sizeof(int) * OUTPUT_SIZE);
assert(width == WIDTH); assert(width == WIDTH);
assert(height == HEIGHT); assert(height == HEIGHT);
assert(depth == 1); assert(depth == 1);