Option "desired_screen_aspect_ratio" for fullscreen mode in the SDL backend

Shortcoming: the picture is not centered

svn-id: r43214
This commit is contained in:
Bertrand Augereau 2009-08-10 18:03:54 +00:00
parent 19d5aa25dc
commit 10b74c336b
4 changed files with 94 additions and 5 deletions

View file

@ -157,6 +157,7 @@ void registerDefaults() {
ConfMan.registerDefault("aspect_ratio", false);
ConfMan.registerDefault("gfx_mode", "normal");
ConfMan.registerDefault("render_mode", "default");
ConfMan.registerDefault("desired_screen_aspect_ratio", "auto");
// Sound & Music
ConfMan.registerDefault("music_volume", 192);