diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-29 22:46:09 -0400 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-01 19:22:12 -0400 |
commit | 60a184455c5aef7cce7e6232cab738f66cb0aac0 (patch) | |
tree | 7421f8289ad911124dd68ad5c8059ebc8ba3a017 /src/yuzu/debugger/graphics/graphics_surface.cpp | |
parent | aee93f98f9ea68404a3de0ab8d7bd7e954924318 (diff) |
Fix ASTC Decompressor to support depth parameter
Diffstat (limited to 'src/yuzu/debugger/graphics/graphics_surface.cpp')
-rw-r--r-- | src/yuzu/debugger/graphics/graphics_surface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp index b994a2789..707747422 100644 --- a/src/yuzu/debugger/graphics/graphics_surface.cpp +++ b/src/yuzu/debugger/graphics/graphics_surface.cpp @@ -386,9 +386,9 @@ void GraphicsSurfaceWidget::OnUpdate() { // TODO(bunnei): Will not work with BCn formats that swizzle 4x4 tiles. // Needs to be fixed if we plan to use this feature more, otherwise we may remove it. - auto unswizzled_data = - Tegra::Texture::UnswizzleTexture(*address, 1, 1, Tegra::Texture::BytesPerPixel(surface_format), - surface_width, surface_height, 1U); + auto unswizzled_data = Tegra::Texture::UnswizzleTexture( + *address, 1, 1, Tegra::Texture::BytesPerPixel(surface_format), surface_width, + surface_height, 1U); auto texture_data = Tegra::Texture::DecodeTexture(unswizzled_data, surface_format, surface_width, surface_height); |