radeon: fix miptree comparison breakage
another case of image never matching miptree in case of compressed textures
This commit is contained in:
@@ -326,7 +326,8 @@ GLboolean radeon_miptree_matches_image(radeon_mipmap_tree *mt,
|
||||
if (face >= mt->faces || level < mt->firstLevel || level > mt->lastLevel)
|
||||
return GL_FALSE;
|
||||
|
||||
if (texImage->IsCompressed != mt->compressed)
|
||||
if ((!texImage->IsCompressed && mt->compressed) ||
|
||||
(texImage->IsCompressed && !mt->compressed))
|
||||
return GL_FALSE;
|
||||
|
||||
if (!texImage->IsCompressed &&
|
||||
|
||||
Reference in New Issue
Block a user