]> git.cworth.org Git - apitrace/blobdiff - specs/cglapi.py
gltrace: Simplify AttribArray further.
[apitrace] / specs / cglapi.py
index 8cb9d8c8c80c0d1f5495655f914222bb587172e0..f54ce8a29c7910660de87f49053f05b8ceb436bd 100644 (file)
@@ -92,7 +92,7 @@ CGLPixelFormatIntAttributes = [
 
 CGLPixelFormatAttribute = Enum("CGLPixelFormatAttribute", CGLPixelFormatBoolAttributes + CGLPixelFormatIntAttributes)
 
-CGLPixelFormatAttribs = AttribArray(CGLPixelFormatAttribute,
+CGLPixelFormatAttribs = AttribArray(Const(CGLPixelFormatAttribute),
                                     [(a, None) for a in CGLPixelFormatBoolAttributes] +
                                     [(a, Int) for a in CGLPixelFormatIntAttributes])