diff --git a/demos/Generic/DemoFramework/Graphics/OpenTK/GLForm.cs b/demos/Generic/DemoFramework/Graphics/OpenTK/GLForm.cs index a96dbda..b49d336 100644 --- a/demos/Generic/DemoFramework/Graphics/OpenTK/GLForm.cs +++ b/demos/Generic/DemoFramework/Graphics/OpenTK/GLForm.cs @@ -21,11 +21,13 @@ public GLForm(OpenTKGraphics graphics) InitializeComponent(); - glControl = new GLControl(new GraphicsMode(new ColorFormat(24), 24, 0, 4)); - glControl.BackColor = System.Drawing.Color.Black; - glControl.Dock = DockStyle.Fill; - glControl.TabIndex = 0; - glControl.VSync = false; + GLControl = new GLControl + { + BackColor = System.Drawing.Color.Black, + Dock = DockStyle.Fill, + TabIndex = 0, + VSync = true + }; Controls.Add(glControl);