Add a reminder to fix current->w,current->h
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401791
This commit is contained in:
parent
84d5ff0f28
commit
de534a37e8
1 changed files with 1 additions and 0 deletions
|
@ -418,6 +418,7 @@ static int XBIOS_VideoInit(_THIS, SDL_PixelFormat *vformat)
|
||||||
|
|
||||||
/* Determine the current screen size */
|
/* Determine the current screen size */
|
||||||
if ( XBIOS_nummodes > 0 ) {
|
if ( XBIOS_nummodes > 0 ) {
|
||||||
|
/* FIXME: parse video mode list to search for current mode */
|
||||||
this->info.current_w = XBIOS_modelist[0].width;
|
this->info.current_w = XBIOS_modelist[0].width;
|
||||||
this->info.current_h = XBIOS_modelist[0].height;
|
this->info.current_h = XBIOS_modelist[0].height;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue