X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=specs%2Fcglapi.py;h=f54ce8a29c7910660de87f49053f05b8ceb436bd;hb=48a92b99752143a34a6b5f6b94bad183564cecab;hp=8cb9d8c8c80c0d1f5495655f914222bb587172e0;hpb=77c10d8849459dbf7484fbc75eabe26cb401bb5a;p=apitrace diff --git a/specs/cglapi.py b/specs/cglapi.py index 8cb9d8c..f54ce8a 100644 --- a/specs/cglapi.py +++ b/specs/cglapi.py @@ -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])