Mercurial > sdl-ios-xcode
comparison src/video/pandora/SDL_pandora.c @ 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 | 494559cc723b |
children | 96492d29034a |
comparison
equal
deleted
inserted
replaced
3234:f8c02d0560d5 | 3235:d35b649858e0 |
---|---|
325 { | 325 { |
326 } | 326 } |
327 void | 327 void |
328 PND_destroywindow(_THIS, SDL_Window * window) | 328 PND_destroywindow(_THIS, SDL_Window * window) |
329 { | 329 { |
330 SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata; | |
331 eglTerminate(phdata->egl_display); | |
330 } | 332 } |
331 | 333 |
332 /*****************************************************************************/ | 334 /*****************************************************************************/ |
333 /* SDL Window Manager function */ | 335 /* SDL Window Manager function */ |
334 /*****************************************************************************/ | 336 /*****************************************************************************/ |