diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2011-12-07 17:03:23 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2011-12-07 18:24:27 +0800 |
commit | 9b4e6d36f7c248e14ab93b1d38fbd3c1d66984dc (patch) | |
tree | a4827a0ae4be2aa410037a26c1b09201c2ea4383 | |
parent | 127cc23dd2de91a31ab9bead806f15fb2fafbad2 (diff) |
egl: Remove unneeded _EGLBoolean
Use Enum instead of FakeEnum to eliminate the temporary type.
-rw-r--r-- | specs/eglapi.py | 3 |
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", ]) |