summaryrefslogtreecommitdiff
path: root/specs/eglapi.py
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-04-21 22:02:12 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-04-21 22:02:12 +0100
commit05c50d88694e49fcce96d7f78e87a94e2af06749 (patch)
tree1c582c74e21960f395e85517eda1de63cb9878cd /specs/eglapi.py
parentf4c86a6371082db0be8087b17a31bb79d35fb1d1 (diff)
egltrace: Ignore unwritten configs in eglGet/ChooseConfigs.
Diffstat (limited to 'specs/eglapi.py')
-rw-r--r--specs/eglapi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/specs/eglapi.py b/specs/eglapi.py
index 0df58e5a..7fbdfaf1 100644
--- a/specs/eglapi.py
+++ b/specs/eglapi.py
@@ -207,8 +207,8 @@ eglapi.addFunctions([
Function(ConstCString, "eglQueryString", [(EGLDisplay, "dpy"), (EGLint_enum, "name")], sideeffects=False),
- Function(EGLBoolean, "eglGetConfigs", [(EGLDisplay, "dpy"), Out(Array(EGLConfig, "config_size"), "configs"), (EGLint, "config_size"), Out(Pointer(EGLint), "num_config")]),
- Function(EGLBoolean, "eglChooseConfig", [(EGLDisplay, "dpy"), (EGLConfigAttribs, "attrib_list"), Out(Array(EGLConfig, "config_size"), "configs"), (EGLint, "config_size"), Out(Pointer(EGLint), "num_config")]),
+ Function(EGLBoolean, "eglGetConfigs", [(EGLDisplay, "dpy"), Out(Array(EGLConfig, "*num_config"), "configs"), (EGLint, "config_size"), Out(Pointer(EGLint), "num_config")]),
+ Function(EGLBoolean, "eglChooseConfig", [(EGLDisplay, "dpy"), (EGLConfigAttribs, "attrib_list"), Out(Array(EGLConfig, "*num_config"), "configs"), (EGLint, "config_size"), Out(Pointer(EGLint), "num_config")]),
Function(EGLBoolean, "eglGetConfigAttrib", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (EGLattrib, "attribute"), Out(Pointer(EGLint), "value")], sideeffects=False),
Function(EGLSurface, "eglCreateWindowSurface", [(EGLDisplay, "dpy"), (EGLConfig, "config"), (EGLNativeWindowType, "win"), (EGLWindowsSurfaceAttribs, "attrib_list")]),