Fix texture manager depth compat comparison

This commit is contained in:
Billy Laws 2022-10-09 16:35:13 +01:00
parent 500f817a28
commit 297597f697

View File

@ -48,7 +48,7 @@ namespace skyline::gpu {
if (matchGuestTexture.format->IsCompatible(*guestTexture.format) &&
((matchGuestTexture.dimensions.width == guestTexture.dimensions.width &&
matchGuestTexture.dimensions.height == guestTexture.dimensions.height &&
matchGuestTexture.dimensions.depth == guestTexture.GetViewDepth())
matchGuestTexture.GetViewDepth() == guestTexture.GetViewDepth())
|| matchGuestTexture.viewMipBase > 0)
&& matchGuestTexture.tileConfig == guestTexture.tileConfig) {
auto &texture{hostMapping->texture};