protected override void OnLoad(EventArgs e) { VSync = VSyncMode.On; Renderer.SetWindowSize(Width, Height); }
protected override void OnResize(EventArgs e) { Renderer.SetWindowSize(Width, Height); }