projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: Avoid set comprehension.
[mesa.git]
/
src
/
mesa
/
main
/
format_fallback.py
diff --git
a/src/mesa/main/format_fallback.py
b/src/mesa/main/format_fallback.py
index e3b9916f6eeb47e511076ceaf58625f163bd5b9a..7782e493d1d432a6efb3b385052987d131d566da 100644
(file)
--- 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'):