diff options
author | greggameplayer <gregoire.hage@gmail.com> | 2018-08-15 01:10:37 +0200 |
---|---|---|
committer | Unknown <gregoire.hage@gmail.com> | 2018-08-15 04:14:15 +0200 |
commit | 6eda9ebbdbfbc8334f81b1c18cb495c64b154fbb (patch) | |
tree | 3452af9f04046814ceeaebd22099cd7de00c1fea | |
parent | Merge pull request #1054 from zhaowenlan1779/misc-fixup (diff) | |
download | yuzu-6eda9ebbdbfbc8334f81b1c18cb495c64b154fbb.tar yuzu-6eda9ebbdbfbc8334f81b1c18cb495c64b154fbb.tar.gz yuzu-6eda9ebbdbfbc8334f81b1c18cb495c64b154fbb.tar.bz2 yuzu-6eda9ebbdbfbc8334f81b1c18cb495c64b154fbb.tar.lz yuzu-6eda9ebbdbfbc8334f81b1c18cb495c64b154fbb.tar.xz yuzu-6eda9ebbdbfbc8334f81b1c18cb495c64b154fbb.tar.zst yuzu-6eda9ebbdbfbc8334f81b1c18cb495c64b154fbb.zip |
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer_cache.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.h b/src/video_core/renderer_opengl/gl_rasterizer_cache.h index 36a41522b..0de87d8c2 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer_cache.h +++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.h @@ -396,6 +396,8 @@ struct SurfaceParams { UNREACHABLE(); case Tegra::Texture::TextureFormat::ZF32: return PixelFormat::Z32F; + case Tegra::Texture::TextureFormat::Z16: + return PixelFormat::Z16; case Tegra::Texture::TextureFormat::Z24S8: return PixelFormat::Z24S8; case Tegra::Texture::TextureFormat::DXT1: |