from stdapi import *
-GLboolean = Alias("GLboolean", Bool)
+GLboolean = Enum("GLboolean", [
+ "GL_TRUE",
+ "GL_FALSE",
+])
+
GLvoid = Alias("GLvoid", Void)
GLbyte = Alias("GLbyte", SChar)
GLshort = Alias("GLshort", Short)
# reconstructed from other state.
GLmap = LinearPointer(GLvoid, "length")
-GLsync_ = IntPointer("GLsync")
-GLsync = Handle("sync", GLsync_)
+GLsync = Handle("sync", IntPointer("GLsync"))
GLenum = Enum("GLenum", [
# Parameters are added later from glparams.py's parameter table