OSDN Git Service

egl: Return the correct array size in _eglFlattenArray.
authorChia-I Wu <olv@lunarg.com>
Wed, 14 Jul 2010 16:31:39 +0000 (00:31 +0800)
committerChia-I Wu <olv@lunarg.com>
Thu, 15 Jul 2010 02:05:46 +0000 (10:05 +0800)
commitd7284b45e247d620e3a80bfc9182ff9c45bb7c62
tree39b30bd399bc6f0d0294cce6e7aa50ca957f3ea6
parent2f4ce2564577755aaf58d05dec3a66d9982e56e1
egl: Return the correct array size in _eglFlattenArray.

The function is used by _eglGetConfigs and _eglGetScreens.  The array
size should not be limited by the buffer size when the buffer is NULL.

This fixes fdo bug #29052.
src/egl/main/eglarray.c