summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/format_fallback.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/format_fallback.py b/src/mesa/main/format_fallback.py
index e3b9916f6ee..7782e493d1d 100644
--- a/src/mesa/main/format_fallback.py
+++ b/src/mesa/main/format_fallback.py
@@ -39,7 +39,7 @@ def parse_args():
return p.parse_args()
def get_rgbx_to_rgba_map(formats):
- names = {fmt.name for fmt in formats}
+ names = set(fmt.name for fmt in formats)
for fmt in formats:
if not fmt.has_channel('r') or not fmt.has_channel('x'):