From 6f42f7b1b367f0ca95a392998d0db5a543dda331 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 12 Nov 2007 08:33:24 +0000 Subject: [PATCH] Fix for flickering GLControl reported by Per and confirmed by bobbypowers. --- Source/OpenTK/GLControl.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/OpenTK/GLControl.cs b/Source/OpenTK/GLControl.cs index 743a15f1..af9e1b52 100644 --- a/Source/OpenTK/GLControl.cs +++ b/Source/OpenTK/GLControl.cs @@ -43,6 +43,7 @@ namespace OpenTK { InitializeComponent(); + this.SetStyle(ControlStyles.Opaque, true); this.SetStyle(ControlStyles.UserPaint, true); this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);