egl: Destroy display's resources upon termination.
authorChia-I Wu <olvaffe@gmail.com>
Fri, 17 Jul 2009 04:21:57 +0000 (21:21 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 17 Jul 2009 17:54:06 +0000 (11:54 -0600)
commit3f7e0d5302ed0fadd794a41af6e476d2c408adc7
tree4359eb96a321daf1df24d614784f6771a880b654
parentbe9d1ab171b1b29108c781af84dd500707a12925
egl: Destroy display's resources upon termination.

eglTerminate should destroy the contexts and surfaces of the display.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/egl/main/egldisplay.c
src/egl/main/egldisplay.h
src/egl/main/egldriver.c