src/video/pandora/SDL_pandora.c
changeset 3238 96492d29034a
parent 3235 d35b649858e0
child 3438 ca5663493497
--- 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)