diff options
| author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-06-17 19:19:47 -0400 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-06-20 21:38:34 -0300 |
| commit | 8660ceb08eb5be516737eb9a0146b13a9cf8b7de (patch) | |
| tree | ba581e42aa67d799b8f7dfbe890c8957a4d652ce /src/video_core/texture_cache/surface_params.cpp | |
| parent | 12fdf117a5eeb63561d9a42a51c2683ebcd9fe89 (diff) | |
texture_cache: Correct format R16U as sibling
Diffstat (limited to 'src/video_core/texture_cache/surface_params.cpp')
| -rw-r--r-- | src/video_core/texture_cache/surface_params.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/texture_cache/surface_params.cpp b/src/video_core/texture_cache/surface_params.cpp index 290ba438d0..a670fc1a90 100644 --- a/src/video_core/texture_cache/surface_params.cpp +++ b/src/video_core/texture_cache/surface_params.cpp @@ -76,6 +76,7 @@ SurfaceParams SurfaceParams::CreateForTexture(Core::System& system, params.type = GetFormatType(params.pixel_format); if (entry.IsShadow() && params.type == SurfaceType::ColorTexture) { switch (params.pixel_format) { + case PixelFormat::R16U: case PixelFormat::R16F: { params.pixel_format = PixelFormat::Z16; break; |
