mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-26 03:15:21 +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();
|
syncSampler();
|
||||||
size_t oldSize = _size;
|
size_t oldSize = _size;
|
||||||
updateSize();
|
updateSize();
|
||||||
assert(_size > oldSize);
|
Q_ASSERT(_size > oldSize);
|
||||||
|
|
||||||
|
|
||||||
// Re-insert into the texture-by-mips map if appropriate
|
// Re-insert into the texture-by-mips map if appropriate
|
||||||
mipLevels = usedMipLevels();
|
mipLevels = usedMipLevels();
|
||||||
|
|
Loading…
Reference in a new issue