egl: Update MaxSize when a dynamic array is grown.
authorChia-I Wu <olv@lunarg.com>
Wed, 30 Jun 2010 10:49:36 +0000 (18:49 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 30 Jun 2010 10:52:00 +0000 (18:52 +0800)
src/egl/main/eglarray.c

index e4faaf4d71e81d47dcbe7a9e9b6faac5e69dcaa3..41550bb4bedbe3f3d7a9d2102ca0195ecafefdd5 100644 (file)
@@ -26,6 +26,7 @@ _eglGrowArray(_EGLArray *array)
    }
 
    array->Elements = elems;
+   array->MaxSize = new_size;
 
    return EGL_TRUE;
 }