Skip to content

Commit

Permalink
Once again, I am stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev committed Dec 27, 2024
1 parent 0733b7d commit 1bc0159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Ryujinx/AppHost.cs
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ public void UpdateVSyncMode(object sender, ReactiveEventArgs<VSyncMode> e)
Device.VSyncMode = e.NewValue;
Device.UpdateVSyncInterval();
}
_renderer.Window?.ChangeVSyncMode((Ryujinx.Graphics.GAL.VSyncMode)e.NewValue);
_renderer.Window?.ChangeVSyncMode(e.NewValue);

_viewModel.ShowCustomVSyncIntervalPicker = (e.NewValue == VSyncMode.Custom);
}
Expand Down Expand Up @@ -1074,7 +1074,7 @@ private void RenderLoop()
Device.Gpu.SetGpuThread();
Device.Gpu.InitializeShaderCache(_gpuCancellationTokenSource.Token);

_renderer.Window.ChangeVSyncMode((Ryujinx.Graphics.GAL.VSyncMode)Device.VSyncMode);
_renderer.Window.ChangeVSyncMode(Device.VSyncMode);

while (_isActive)
{
Expand Down

0 comments on commit 1bc0159

Please sign in to comment.