mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 13:01:50 +01:00
Fix texture manager depth compat comparison
This commit is contained in:
parent
500f817a28
commit
297597f697
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user