diff options
author | Simon Howard | 2008-02-09 22:04:13 +0000 |
---|---|---|
committer | Simon Howard | 2008-02-09 22:04:13 +0000 |
commit | aadc860d70492ca5d966864a0b6fb3f49dbc4001 (patch) | |
tree | d851bb5ac0cbd9dac584a8118f8ef53bf68cbb84 /setup/mainmenu.c | |
parent | 2a464e0d569e651e4bd660c995702b263c8741c4 (diff) | |
download | chocolate-doom-aadc860d70492ca5d966864a0b6fb3f49dbc4001.tar.gz chocolate-doom-aadc860d70492ca5d966864a0b6fb3f49dbc4001.tar.bz2 chocolate-doom-aadc860d70492ca5d966864a0b6fb3f49dbc4001.zip |
Set the SDL_VIDEODRIVER in setup, so that we get the correct modes list
(different video drivers can give different results). Restart textscreen
when the video driver is changed.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1067
Diffstat (limited to 'setup/mainmenu.c')
-rw-r--r-- | setup/mainmenu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setup/mainmenu.c b/setup/mainmenu.c index 335bd61b..4ff5b449 100644 --- a/setup/mainmenu.c +++ b/setup/mainmenu.c @@ -172,6 +172,8 @@ static void SetIcon(void) static void RunGUI(void) { + SetDisplayDriver(); + if (!TXT_Init()) { fprintf(stderr, "Failed to initialise GUI\n"); |