mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +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, ".");
|
||||
|
||||
|
@ -6517,6 +6515,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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue