Skip to content

Commit

Permalink
Resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Nustat0 authored Nov 18, 2024
1 parent 21cdec0 commit 9565438
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/framerate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3403,13 +3403,7 @@ SK::Framerate::Limiter::wait (void)
static bool bSync = true; // First time signals resync
static double dSync = 0.00;

static int iSkips = 0;
static int iTry = 0; // First time signals resync
if ( (iTry == 0 || (rb.gsync_state.active == false || (++iSkips % 50) == 0)) && (
config.render.framerate.latent_sync.scanline_resync != 0 &&
(iTry++ %
config.render.framerate.latent_sync.scanline_resync) == 0 )
)
if (config.render.framerate.latent_sync.scanline_resync != 0.0f)
{
float fResync =
config.render.framerate.latent_sync.scanline_resync;
Expand Down

0 comments on commit 9565438

Please sign in to comment.