From: Chia-I Wu Date: Wed, 30 Jun 2010 10:49:36 +0000 (+0800) Subject: egl: Update MaxSize when a dynamic array is grown. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8815b754d9f64fce32bbfdcdf58dfed62a8aa3c;p=mesa.git egl: Update MaxSize when a dynamic array is grown. --- 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; }