mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- 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:
parent
5c702e66e2
commit
718d3f8d43
1 changed files with 2 additions and 1 deletions
|
@ -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++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue