mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-12 23:54:17 +00:00
- set initial vsync state after creation of framebuffer
https://forum.zdoom.org/viewtopic.php?t=66020
This commit is contained in:
parent
0dea6fcecc
commit
9332316c2a
1 changed files with 1 additions and 0 deletions
|
@ -625,6 +625,7 @@ void V_Init2()
|
||||||
menu_resolution_custom_width = SCREENWIDTH;
|
menu_resolution_custom_width = SCREENWIDTH;
|
||||||
menu_resolution_custom_height = SCREENHEIGHT;
|
menu_resolution_custom_height = SCREENHEIGHT;
|
||||||
|
|
||||||
|
screen->SetVSync(vid_vsync);
|
||||||
screen->SetGamma ();
|
screen->SetGamma ();
|
||||||
FBaseCVar::ResetColors ();
|
FBaseCVar::ResetColors ();
|
||||||
C_NewModeAdjust();
|
C_NewModeAdjust();
|
||||||
|
|
Loading…
Reference in a new issue