changeset 3235:d35b649858e0

David Carre to Sam Hello sam, me again. I'v fixed another bug in the pandora code, it's on the no-X videodriver, i forgot to add some code to destroy the window so it was impossible to reload SDL inside the same application (eglTerminate). You'll find the svn diff attached. See you, David.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 11 Aug 2009 13:45:01 +0000
parents f8c02d0560d5
children d7497988b677
files src/video/pandora/SDL_pandora.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/pandora/SDL_pandora.c	Fri Aug 07 10:20:10 2009 +0000
+++ b/src/video/pandora/SDL_pandora.c	Tue Aug 11 13:45:01 2009 +0000
@@ -327,6 +327,8 @@
 void
 PND_destroywindow(_THIS, SDL_Window * window)
 {
+    SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata;
+    eglTerminate(phdata->egl_display);
 }
 
 /*****************************************************************************/