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 .