egl: Fix a segfault when a display is initialized again.
authorChia-I Wu <olvaffe@gmail.com>
Tue, 26 Jan 2010 10:34:29 +0000 (18:34 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 26 Jan 2010 10:46:05 +0000 (18:46 +0800)
commit545eaf83b5f096e5b16b2056e13b76f58d9211c9
tree5f492784792f59036533093e3e5fb3543814885d
parenta1717970e78d897f527273278bf1346cc86a5741
egl: Fix a segfault when a display is initialized again.

Reset dpy->MaxConfigs so that dpy->Configs is re-allocated.
src/egl/main/egldisplay.c