Issue600

Title Video default: Use desktop settings detected from SDL
Priority bug Status resolved
Assigned To salimiles Keywords
Linked issues Watchers salimiles

Submitted on 2012-05-29 21h42 by salimiles, last changed by matthiaskrgr.

Messages
Author: salimiles Date: 2012-05-29   21h42
DEFAULT_SCREEN_WIDTH or HEIGHT (800/600) has problems with wide-screen monitors
in fullscreen mode, as these defaults can cause problems, when the monitor
scales to fit the horizontal width, and cuts the vertical off (including parts
of the menu).

Preferably we should use the height and width of the desktop through the
SDL_GetVideoInfo struct (SDL version 1.2.10) which has current_w and current_h
as members (see http://www.libsdl.org/cgi/docwiki.cgi/SDL_VideoInfo ).

See: http://www.libsdl.org/cgi/docwiki.cgi/SDL_VideoInfo

----

Looks like the fix is to modify InitVideo() in src/graphics.c .
Author: salimiles Date: 2012-05-29   22h45
I wrote a patch for this at http://rb.freedroid.org/r/1817/ .
Author: matthiaskrgr Date: 2012-05-30   17h10
Committed in rad282db7e4dd. Thanks!
History
Date User Action Args
2012-05-30 17:10:45matthiaskrgrsetstatus: open -> resolved
assignedto: salimiles
messages: + msg2303
nosy: + salimiles
2012-05-29 22:45:32salimilessetmessages: + msg2292
2012-05-29 21:42:49salimilescreate