summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2011-12-07 17:03:23 +0800
committerChia-I Wu <olvaffe@gmail.com>2011-12-07 18:24:27 +0800
commit9b4e6d36f7c248e14ab93b1d38fbd3c1d66984dc (patch)
treea4827a0ae4be2aa410037a26c1b09201c2ea4383
parent127cc23dd2de91a31ab9bead806f15fb2fafbad2 (diff)
egl: Remove unneeded _EGLBoolean
Use Enum instead of FakeEnum to eliminate the temporary type.
-rw-r--r--specs/eglapi.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/specs/eglapi.py b/specs/eglapi.py
index def9ae2..918d65b 100644
--- a/specs/eglapi.py
+++ b/specs/eglapi.py
@@ -39,8 +39,7 @@ EGLSurface = Opaque("EGLSurface")
EGLClientBuffer = Opaque("EGLClientBuffer")
-_EGLBoolean = Alias("EGLBoolean", UInt)
-EGLBoolean = FakeEnum(_EGLBoolean, [
+EGLBoolean = Enum("EGLBoolean", [
"EGL_FALSE",
"EGL_TRUE",
])