//OpenTK window public static void RenderFrame(System.Object sender, OpenTK.FrameEventArgs e) { if (Core.Main.initDone) { OpenTKWindow main = sender as OpenTKWindow; main.Title = $"T-Delta: {(e.Time * 1000).ToString("n0")}ms | Time Elapsed: {GameLoop.stopwatch.Elapsed.ToString(@"mm\:ss")}"; renderingLoop(); main.SwapBuffers(); } }
public override void Present( ) { OpenTKWindow.SwapBuffers( ); }