From 5ae4b6693a8254236435960ef84701fe405fe59b Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Mon, 6 Dec 2010 14:38:23 +0800 Subject: egl: _eglFilterArray should not allocate. Otherwise, when it is called from within a driver, the caller cannot free the returned data (on Windows). --- src/egl/main/eglarray.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/egl/main/eglarray.h') diff --git a/src/egl/main/eglarray.h b/src/egl/main/eglarray.h index c8309fb066..a88189a625 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); -- cgit v1.2.3