summaryrefslogtreecommitdiffstats
path: root/src/mapi/glapi/gen/gl_procs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/glapi/gen/gl_procs.py')
-rw-r--r--src/mapi/glapi/gen/gl_procs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mapi/glapi/gen/gl_procs.py b/src/mapi/glapi/gen/gl_procs.py
index 5718f42ab61..4bd33216106 100644
--- a/src/mapi/glapi/gen/gl_procs.py
+++ b/src/mapi/glapi/gen/gl_procs.py
@@ -144,8 +144,7 @@ typedef struct {
print('')
print('/* OpenGL ES specific prototypes */')
print('')
- keys = categories.keys()
- keys.sort()
+ keys = sorted(categories.keys())
for key in keys:
print('/* category %s */' % key)
print("\n".join(categories[key]))