mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
game.cpp: fixed GL vsync resetting issue due to system_getcvars() call coming before cvars were loaded
git-svn-id: https://svn.eduke32.com/eduke32@6682 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
92091a4425
commit
94246b5dd1
1 changed files with 2 additions and 2 deletions
|
@ -6503,8 +6503,6 @@ int app_main(int argc, char const * const * argv)
|
|||
for (bssize_t i = MINIFONT + ('a'-'!'); minitext_lowercase && i < MINIFONT + ('z'-'!') + 1; ++i)
|
||||
minitext_lowercase &= tile_exists(i);
|
||||
|
||||
system_getcvars();
|
||||
|
||||
char *const setupFileName = Xstrdup(g_setupFileName);
|
||||
char *const p = strtok(setupFileName, ".");
|
||||
|
||||
|
@ -6518,6 +6516,8 @@ int app_main(int argc, char const * const * argv)
|
|||
OSD_Exec(tempbuf);
|
||||
OSD_Exec("autoexec.cfg");
|
||||
|
||||
system_getcvars();
|
||||
|
||||
if (g_networkMode != NET_DEDICATED_SERVER)
|
||||
{
|
||||
if (setgamemode(ud.config.ScreenMode,ud.config.ScreenWidth,ud.config.ScreenHeight,ud.config.ScreenBPP) < 0)
|
||||
|
|
Loading…
Reference in a new issue