mirror of
https://github.com/yawut/SDL.git
synced 2026-07-30 07:02:07 -05:00
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.
This commit is contained in:
parent
0449f9f82c
commit
91f3686c2e
|
|
@ -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);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user