summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/format_parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/format_parser.py b/src/mesa/main/format_parser.py
index 4c36c3cee28..3321ad33ffa 100644
--- a/src/mesa/main/format_parser.py
+++ b/src/mesa/main/format_parser.py
@@ -216,8 +216,8 @@ class Swizzle:
component, exactly as you would expect.
"""
rev = [Swizzle.SWIZZLE_NONE] * 4
- for i in xrange(4):
- for j in xrange(4):
+ for i in range(4):
+ for j in range(4):
if self.__list[j] == i and rev[i] == Swizzle.SWIZZLE_NONE:
rev[i] = j
return Swizzle(rev)