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.

--HG--
extra : rebase_source : 29b07b9c8378f69fb8b5f201584befd8d7f005dd
This commit is contained in:
Ryan C. Gordon 2013-07-15 20:30:04 -04:00
parent 74e1355637
commit 5256d2e392

View file

@ -294,8 +294,6 @@ PND_restorewindow(_THIS, SDL_Window * window)
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)