# HG changeset patch # User Sam Lantinga # Date 1249998301 0 # Node ID d35b649858e024261f791711fd94ec2435674614 # Parent f8c02d0560d5a980608659017ba70c197e33c49a 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. diff -r f8c02d0560d5 -r d35b649858e0 src/video/pandora/SDL_pandora.c --- 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); } /*****************************************************************************/