aboutsummaryrefslogtreecommitdiffhomepage
path: root/registry/generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'registry/generator.py')
-rw-r--r--registry/generator.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/registry/generator.py b/registry/generator.py
index 669e5d6..5fb6370 100644
--- a/registry/generator.py
+++ b/registry/generator.py
@@ -64,9 +64,8 @@ def regSortCategoryKey(feature):
return 0.5
else:
return 0
- if (feature.category == 'ARB'
- or feature.category == 'KHR'
- or feature.category == 'OES'):
+
+ if feature.category.upper() in ['ARB', 'KHR', 'OES']:
return 1
return 2