From 0a64863ec119b28a98ebf6b825f110410e993587 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 11 Aug 2009 13:45:01 +0000 Subject: [PATCH] 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. --- src/video/pandora/SDL_pandora.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/pandora/SDL_pandora.c b/src/video/pandora/SDL_pandora.c index 3ed09b3bf..2817f13e4 100644 --- a/src/video/pandora/SDL_pandora.c +++ b/src/video/pandora/SDL_pandora.c @@ -327,6 +327,8 @@ PND_setwindowgrab(_THIS, SDL_Window * window) void PND_destroywindow(_THIS, SDL_Window * window) { + SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata; + eglTerminate(phdata->egl_display); } /*****************************************************************************/