Made PND_setwindowgrab() a no-op. It was a cut/paste of PND_destroywindow().
authorRyan C. Gordon <icculus@icculus.org>
Mon, 15 Jul 2013 20:30:04 -0400
changeset 7468 e92571f09ce9
parent 7467 998579383ced
child 7469 4310d5aee6fe
Made PND_setwindowgrab() a no-op. It was a cut/paste of PND_destroywindow(). This looks like the rest of the code doesn't deal with windows, and probably just deals with a single fullscreen GLES context, like a console would, so making setwindowgrab a no-op makes sense in this case; it's already "grabbed." Fixes Bugzilla #1850.
src/video/pandora/SDL_pandora.c
--- a/src/video/pandora/SDL_pandora.c	Mon Jul 15 23:00:47 2013 +0200
+++ b/src/video/pandora/SDL_pandora.c	Mon Jul 15 20:30:04 2013 -0400
@@ -294,8 +294,6 @@
 void
 PND_setwindowgrab(_THIS, SDL_Window * window)
 {
-    SDL_VideoData *phdata = (SDL_VideoData *) _this->driverdata;
-    eglTerminate(phdata->egl_display);
 }
 void
 PND_destroywindow(_THIS, SDL_Window * window)