Fix warnings

This commit is contained in:
Brad Davis 2016-09-23 10:41:17 -07:00
parent ab8a67e84d
commit ba3abc7b51

View file

@ -491,7 +491,8 @@ void GL45Texture::stripToMip(uint16_t newMinMip) {
syncSampler();
size_t oldSize = _size;
updateSize();
assert(_size > oldSize);
Q_ASSERT(_size > oldSize);
// Re-insert into the texture-by-mips map if appropriate
mipLevels = usedMipLevels();