diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-30 02:34:44 +0100 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-11-01 18:08:19 +0100 |
commit | aee93f98f9ea68404a3de0ab8d7bd7e954924318 (patch) | |
tree | f480fc1693cb8092e43cdc5f0e1013bbd6908c9d /src/yuzu/debugger/graphics/graphics_surface.cpp | |
parent | Implemented ASTC 5x5 (diff) | |
download | yuzu-aee93f98f9ea68404a3de0ab8d7bd7e954924318.tar yuzu-aee93f98f9ea68404a3de0ab8d7bd7e954924318.tar.gz yuzu-aee93f98f9ea68404a3de0ab8d7bd7e954924318.tar.bz2 yuzu-aee93f98f9ea68404a3de0ab8d7bd7e954924318.tar.lz yuzu-aee93f98f9ea68404a3de0ab8d7bd7e954924318.tar.xz yuzu-aee93f98f9ea68404a3de0ab8d7bd7e954924318.tar.zst yuzu-aee93f98f9ea68404a3de0ab8d7bd7e954924318.zip |
Diffstat (limited to '')
-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, |