Mercurial > sdl-ios-xcode
comparison src/video/xbios/SDL_xbios.c @ 1830:19555149bb66
Add a reminder to fix current->w,current->h
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Sun, 14 May 2006 09:55:22 +0000 |
parents | 8d9bb0cf2c2a |
children | c121d94672cb d8371d2dc524 |
comparison
equal
deleted
inserted
replaced
1829:b98fd17b0b02 | 1830:19555149bb66 |
---|---|
416 break; | 416 break; |
417 } | 417 } |
418 | 418 |
419 /* Determine the current screen size */ | 419 /* Determine the current screen size */ |
420 if ( XBIOS_nummodes > 0 ) { | 420 if ( XBIOS_nummodes > 0 ) { |
421 /* FIXME: parse video mode list to search for current mode */ | |
421 this->info.current_w = XBIOS_modelist[0].width; | 422 this->info.current_w = XBIOS_modelist[0].width; |
422 this->info.current_h = XBIOS_modelist[0].height; | 423 this->info.current_h = XBIOS_modelist[0].height; |
423 } | 424 } |
424 | 425 |
425 current_mode = XBIOS_modelist; | 426 current_mode = XBIOS_modelist; |