From 6221d73e010d00f58ea0eb5ac557de2bfeeb1950 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 15 Jul 2013 20:30:04 -0400 Subject: [PATCH] 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 | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/video/pandora/SDL_pandora.c b/src/video/pandora/SDL_pandora.c index 17c761bd6..1ebf82952 100644 --- a/src/video/pandora/SDL_pandora.c +++ b/src/video/pandora/SDL_pandora.c @@ -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)