summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-06-14 16:40:04 -0400
committerGravatar ReinUsesLisp2019-06-20 21:38:34 -0300
commit082740d34db0996a0af73d7680c57e1abb31c712 (patch)
treebcc9ecb6af93114eaf008f8a576b1a99b9f189fe /src/video_core/surface.cpp
parenttexture_cache: Initialize all siblings to invalid pixel format. (diff)
downloadyuzu-082740d34db0996a0af73d7680c57e1abb31c712.tar.gz
yuzu-082740d34db0996a0af73d7680c57e1abb31c712.tar.xz
yuzu-082740d34db0996a0af73d7680c57e1abb31c712.zip
surface: Correct format S8Z24
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index 52a79e4a7..c50f6354d 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -308,8 +308,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
308 return PixelFormat::Z32F; 308 return PixelFormat::Z32F;
309 case Tegra::Texture::TextureFormat::Z16: 309 case Tegra::Texture::TextureFormat::Z16:
310 return PixelFormat::Z16; 310 return PixelFormat::Z16;
311 case Tegra::Texture::TextureFormat::Z24S8: 311 case Tegra::Texture::TextureFormat::S8Z24:
312 return PixelFormat::Z24S8; 312 return PixelFormat::S8Z24;
313 case Tegra::Texture::TextureFormat::ZF32_X24S8: 313 case Tegra::Texture::TextureFormat::ZF32_X24S8:
314 return PixelFormat::Z32FS8; 314 return PixelFormat::Z32FS8;
315 case Tegra::Texture::TextureFormat::DXT1: 315 case Tegra::Texture::TextureFormat::DXT1: