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.
This commit is contained in:
Ryan C. Gordon
2013-07-15 20:30:04 -04:00
parent ddc93adadf
commit a8c0012c9f

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)