summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-03-07 22:21:54 +0100
committerSubv <subv2112@gmail.com>2015-03-07 22:21:54 +0100
commit4b8d4d0ed57bf0761736c8320c5711e728c116a1 (patch)
treebcf65d090fcd45d39fb446ccae97e18f55c197f2 /src/video_core
parentMerge pull request #538 from yuriks/perf-stat (diff)
downloadyuzu-4b8d4d0ed57bf0761736c8320c5711e728c116a1.tar
yuzu-4b8d4d0ed57bf0761736c8320c5711e728c116a1.tar.gz
yuzu-4b8d4d0ed57bf0761736c8320c5711e728c116a1.tar.bz2
yuzu-4b8d4d0ed57bf0761736c8320c5711e728c116a1.tar.lz
yuzu-4b8d4d0ed57bf0761736c8320c5711e728c116a1.tar.xz
yuzu-4b8d4d0ed57bf0761736c8320c5711e728c116a1.tar.zst
yuzu-4b8d4d0ed57bf0761736c8320c5711e728c116a1.zip
Diffstat (limited to 'src/video_core')
-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 },