src/video/ipod/SDL_ipodvideo.c
changeset 1545 8d9bb0cf2c2a
parent 1402 d910939febfa
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
--- a/src/video/ipod/SDL_ipodvideo.c	Wed Mar 15 15:47:49 2006 +0000
+++ b/src/video/ipod/SDL_ipodvideo.c	Wed Mar 15 17:46:41 2006 +0000
@@ -287,6 +287,10 @@
 
 	fcntl (kbfd, F_SETFL, O_RDWR | O_NONBLOCK);
 
+	/* Determine the current screen size */
+	this->info.current_w = lcd_width;
+	this->info.current_h = lcd_height;
+
 	if ((generation >= 60000) && (generation < 70000)) {
 	    vformat->BitsPerPixel = 16;
 	    vformat->Rmask = 0xF800;