1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Correct asserts in Textures.cpp

Previus conditions not met when texture pack is used.
This commit is contained in:
Sergey Lipskiy 2016-11-19 19:03:28 +07:00
parent 5e639452ec
commit 3b9f3a4263

View File

@ -1459,8 +1459,8 @@ void TextureCache::update(u32 _t)
CachedTexture & current = *iter;
m_textures.splice(m_textures.begin(), m_textures, iter);
assert(current.realWidth == sizes.realWidth);
assert(current.realHeight == sizes.realHeight);
assert(current.width == sizes.width);
assert(current.height == sizes.height);
assert(current.format == pTile->format);
assert(current.size == pTile->size);