David Carre to Sam
authorSam Lantinga <slouken@libsdl.org>
Tue, 11 Aug 2009 13:45:01 +0000
changeset 3235d35b649858e0
parent 3234 f8c02d0560d5
child 3236 d7497988b677
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
     1.1 --- a/src/video/pandora/SDL_pandora.c	Fri Aug 07 10:20:10 2009 +0000
     1.2 +++ b/src/video/pandora/SDL_pandora.c	Tue Aug 11 13:45:01 2009 +0000
     1.3 @@ -327,6 +327,8 @@
     1.4  void
     1.5  PND_destroywindow(_THIS, SDL_Window * window)
     1.6  {
     1.7 +    SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata;
     1.8 +    eglTerminate(phdata->egl_display);
     1.9  }
    1.10  
    1.11  /*****************************************************************************/