diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-29 21:34:44 -0400 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-01 13:08:19 -0400 |
commit | aee93f98f9ea68404a3de0ab8d7bd7e954924318 (patch) | |
tree | f480fc1693cb8092e43cdc5f0e1013bbd6908c9d /src/yuzu/debugger/graphics/graphics_surface.cpp | |
parent | 31930a3334df4fc352621d3c0bd31d03c81bc99e (diff) |
Fix ASTC formats
Diffstat (limited to 'src/yuzu/debugger/graphics/graphics_surface.cpp')
-rw-r--r-- | src/yuzu/debugger/graphics/graphics_surface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/debugger/graphics/graphics_surface.cpp b/src/yuzu/debugger/graphics/graphics_surface.cpp index 0adbab27d..b994a2789 100644 --- a/src/yuzu/debugger/graphics/graphics_surface.cpp +++ b/src/yuzu/debugger/graphics/graphics_surface.cpp @@ -387,7 +387,7 @@ 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, Tegra::Texture::BytesPerPixel(surface_format), + 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, |