- Changed vid_tft's default to true. How many people still run 1280x1024 on a CRT these days?

- Fixed: M_InitVideoModesMenu() needs to call vid_tft's callback.

SVN r3816 (trunk)
This commit is contained in:
Randy Heit 2012-08-10 02:56:09 +00:00
parent 5c702e66e2
commit 718d3f8d43

View file

@ -99,7 +99,7 @@ CUSTOM_CVAR (Int, menu_screenratios, -1, CVAR_ARCHIVE)
} }
} }
CUSTOM_CVAR (Bool, vid_tft, false, CVAR_ARCHIVE|CVAR_GLOBALCONFIG) CUSTOM_CVAR (Bool, vid_tft, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
{ {
FOptionMenuDescriptor *opt = GetVideoModeMenu(); FOptionMenuDescriptor *opt = GetVideoModeMenu();
if (opt != NULL) if (opt != NULL)
@ -316,6 +316,7 @@ void M_InitVideoModesMenu ()
size_t currval = 0; size_t currval = 0;
M_RefreshModesList(); M_RefreshModesList();
vid_tft.Callback();
for (unsigned int i = 1; i <= 32 && currval < countof(BitTranslate); i++) for (unsigned int i = 1; i <= 32 && currval < countof(BitTranslate); i++)
{ {