mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 19:55:07 +02:00
Fix warnings
This commit is contained in:
parent
ab8a67e84d
commit
ba3abc7b51
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue