Made PND_setwindowgrab() a no-op. It was a cut/paste of PND_destroywindow().
authorRyan C. Gordon
Mon, 15 Jul 2013 20:30:04 -0400
changeset 7468e92571f09ce9
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
     1.1 --- a/src/video/pandora/SDL_pandora.c	Mon Jul 15 23:00:47 2013 +0200
     1.2 +++ b/src/video/pandora/SDL_pandora.c	Mon Jul 15 20:30:04 2013 -0400
     1.3 @@ -294,8 +294,6 @@
     1.4  void
     1.5  PND_setwindowgrab(_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  void
    1.11  PND_destroywindow(_THIS, SDL_Window * window)