--- a/src/video/pandora/SDL_pandora.c Tue Aug 11 21:27:19 2009 +0000
+++ b/src/video/pandora/SDL_pandora.c Tue Aug 18 03:26:53 2009 +0000
@@ -91,8 +91,8 @@
/* Setup amount of available displays and current display */
- device->num_displays = 1;
- device->current_display = 1;
+ device->num_displays = 0;
+ device->current_display = 0;
/* Set device free function */
device->free = PND_destroy;
@@ -323,6 +323,8 @@
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)