summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglarray.h
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-12-06 14:38:23 +0800
committerChia-I Wu <[email protected]>2010-12-06 15:40:37 +0800
commit5ae4b6693a8254236435960ef84701fe405fe59b (patch)
treed42b857ee61de76f8b12f5d71c61f6e738977d4e /src/egl/main/eglarray.h
parent2b1469340bbf910469449354eeb5c02a9acfedba (diff)
egl: _eglFilterArray should not allocate.
Otherwise, when it is called from within a driver, the caller cannot free the returned data (on Windows).
Diffstat (limited to 'src/egl/main/eglarray.h')
-rw-r--r--src/egl/main/eglarray.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/egl/main/eglarray.h b/src/egl/main/eglarray.h
index c8309fb066a..a88189a6252 100644
--- a/src/egl/main/eglarray.h
+++ b/src/egl/main/eglarray.h
@@ -37,8 +37,8 @@ void *
_eglFindArray(_EGLArray *array, void *elem);
-PUBLIC void **
-_eglFilterArray(_EGLArray *array, EGLint *size,
+PUBLIC EGLint
+_eglFilterArray(_EGLArray *array, void **data, EGLint size,
_EGLArrayForEach filter, void *filter_data);