Fix assertion.
This commit is contained in:
parent
a1a34f546f
commit
f412ec8efb
@ -47,7 +47,7 @@ struct MyOutputHandler : public nvtt::OutputHandler
|
||||
|
||||
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(height == HEIGHT);
|
||||
assert(depth == 1);
|
||||
|
Loading…
Reference in New Issue
Block a user