Fix for flickering GLControl reported by Per and confirmed by bobbypowers.

This commit is contained in:
the_fiddler 2007-11-12 08:33:24 +00:00
parent 7f62028ac7
commit 6f42f7b1b3

View file

@ -43,6 +43,7 @@ namespace OpenTK
{
InitializeComponent();
this.SetStyle(ControlStyles.Opaque, true);
this.SetStyle(ControlStyles.UserPaint, true);
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);