diff --git a/Source/OpenTK/GameWindow.cs b/Source/OpenTK/GameWindow.cs index a4a61314..ad8ed413 100644 --- a/Source/OpenTK/GameWindow.cs +++ b/Source/OpenTK/GameWindow.cs @@ -457,7 +457,7 @@ namespace OpenTK break; } } - } while (TargetRenderFrequency > 0 && ++frameskip < max_frameskip); + } while (TargetUpdateFrequency > 0 && ++frameskip < max_frameskip); timestamp = watch.Elapsed.TotalSeconds; double render_elapsed = MathHelper.Clamp(timestamp - render_timestamp, 0.0, 1.0);