From a8815b754d9f64fce32bbfdcdf58dfed62a8aa3c Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 30 Jun 2010 18:49:36 +0800 Subject: egl: Update MaxSize when a dynamic array is grown. --- src/egl/main/eglarray.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/egl') diff --git a/src/egl/main/eglarray.c b/src/egl/main/eglarray.c index e4faaf4d71e..41550bb4bed 100644 --- a/src/egl/main/eglarray.c +++ b/src/egl/main/eglarray.c @@ -26,6 +26,7 @@ _eglGrowArray(_EGLArray *array) } array->Elements = elems; + array->MaxSize = new_size; return EGL_TRUE; } -- cgit v1.2.3