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