Per's picture

Flickering GLControl

I have problems with GLControl flickering , the GLControl is added to a ToolStripContainer.ContentPanel
If I add the following line to the GLControl Constructor the flickering disappears :

this.SetStyle(ControlStyles.Opaque, true);

Tested on 32-bit Vista

/Per


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler.'s picture

Thanks, I'll test this and commit a fix.

bobbypowers's picture

I've had a similar problem using XP SP2 (on a MacBook Pro with both the stock Radeon X1600 driver and the Parallels driver). Adding the above line to the controller constructor did the trick, as Per said.