summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-03-07 22:26:55 +0100
committerTony Wasserka <neobrainx@gmail.com>2015-03-07 22:26:55 +0100
commitf29897ca6d712d1082c35fa3270fe2b525368fd5 (patch)
treebcf65d090fcd45d39fb446ccae97e18f55c197f2 /src
parentMerge pull request #538 from yuriks/perf-stat (diff)
parentGPU/Textures: Fixed ETC texture decoding. (diff)
downloadyuzu-f29897ca6d712d1082c35fa3270fe2b525368fd5.tar
yuzu-f29897ca6d712d1082c35fa3270fe2b525368fd5.tar.gz
yuzu-f29897ca6d712d1082c35fa3270fe2b525368fd5.tar.bz2
yuzu-f29897ca6d712d1082c35fa3270fe2b525368fd5.tar.lz
yuzu-f29897ca6d712d1082c35fa3270fe2b525368fd5.tar.xz
yuzu-f29897ca6d712d1082c35fa3270fe2b525368fd5.tar.zst
yuzu-f29897ca6d712d1082c35fa3270fe2b525368fd5.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index a27d3828c..745c4f4ed 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<u8> 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<std::array<u8, 2>, 8>{{
{ 2, 8 }, { 5, 17 }, { 9, 29 }, { 13, 42 },