From 4b8d4d0ed57bf0761736c8320c5711e728c116a1 Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 7 Mar 2015 16:21:54 -0500 Subject: GPU/Textures: Fixed ETC texture decoding. --- src/video_core/debug_utils/debug_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/video_core/debug_utils') diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index a27d3828..745c4f4e 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp @@ -505,7 +505,7 @@ const Math::Vec4 LookupTexture(const u8* source, int x, int y, const Texture } // Add modifier - unsigned table_index = (x < 2) ? table_index_2.Value() : table_index_1.Value(); + unsigned table_index = (x < 2) ? table_index_1.Value() : table_index_2.Value(); static const auto etc1_modifier_table = std::array, 8>{{ { 2, 8 }, { 5, 17 }, { 9, 29 }, { 13, 42 }, -- cgit v1.2.3