summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-06-30 18:49:36 +0800
committerChia-I Wu <[email protected]>2010-06-30 18:52:00 +0800
commita8815b754d9f64fce32bbfdcdf58dfed62a8aa3c (patch)
tree2203ffb35e9f9c23e78b84a7718ca966d5b674b2 /src/egl
parent98ebc8165c39a3f4bcfa16836292e217f24fe1ed (diff)
egl: Update MaxSize when a dynamic array is grown.
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/eglarray.c1
1 files changed, 1 insertions, 0 deletions
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;
}