Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Made PND_setwindowgrab() a no-op. It was a cut/paste of PND_destroywi…
Browse files Browse the repository at this point in the history
…ndow().

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.
  • Loading branch information
icculus committed Jul 16, 2013
1 parent 73e63b5 commit 6221d73
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/video/pandora/SDL_pandora.c
Expand Up @@ -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)
Expand Down

0 comments on commit 6221d73

Please sign in to comment.