Skip to content

Commit

Permalink
- set initial vsync state after creation of framebuffer
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-lysiuk committed Oct 4, 2019
1 parent 0dea6fc commit 9332316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rendering/v_video.cpp
Expand Up @@ -625,6 +625,7 @@ void V_Init2()
menu_resolution_custom_width = SCREENWIDTH;
menu_resolution_custom_height = SCREENHEIGHT;

screen->SetVSync(vid_vsync);
screen->SetGamma ();
FBaseCVar::ResetColors ();
C_NewModeAdjust();
Expand Down

0 comments on commit 9332316

Please sign in to comment.