summaryrefslogtreecommitdiffstats
path: root/src/video_core/compatible_formats.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-27 00:25:49 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-06-27 01:52:22 +0200
commitbb2cbdf7047ed765c236e2da0c04420082d7fd8f (patch)
tree7ee16bceea67ccf546f263344d6b72bf157b308d /src/video_core/compatible_formats.cpp
parentvideo_core/compatible_formats: Table to test if two formats are legal to view or copy (diff)
downloadyuzu-bb2cbdf7047ed765c236e2da0c04420082d7fd8f.tar
yuzu-bb2cbdf7047ed765c236e2da0c04420082d7fd8f.tar.gz
yuzu-bb2cbdf7047ed765c236e2da0c04420082d7fd8f.tar.bz2
yuzu-bb2cbdf7047ed765c236e2da0c04420082d7fd8f.tar.lz
yuzu-bb2cbdf7047ed765c236e2da0c04420082d7fd8f.tar.xz
yuzu-bb2cbdf7047ed765c236e2da0c04420082d7fd8f.tar.zst
yuzu-bb2cbdf7047ed765c236e2da0c04420082d7fd8f.zip
Diffstat (limited to 'src/video_core/compatible_formats.cpp')
-rw-r--r--src/video_core/compatible_formats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/compatible_formats.cpp b/src/video_core/compatible_formats.cpp
index 01e5c26ae..6c426b035 100644
--- a/src/video_core/compatible_formats.cpp
+++ b/src/video_core/compatible_formats.cpp
@@ -130,7 +130,7 @@ template <typename Range>
void EnableRange(FormatCompatibility::Table& compatibility, const Range& range) {
for (auto it_a = range.begin(); it_a != range.end(); ++it_a) {
for (auto it_b = it_a; it_b != range.end(); ++it_b) {
- Enable(*it_a, *it_b);
+ Enable(compatibility, *it_a, *it_b);
}
}
}