OpenGL resize bug - video included

here is the video-  https://vimeo.com/129984349 ,

if you add a ResizableBorderComponent to an openGL component(implements OpenGLRenderer) you get nasty flickering while resizing. In the video I created a MultDocumentPanel with 2 opengl components, every time you move one of the windows, the view shakes and does not draw properly. If you resize you get flickering just like from the ResizableBorderComponent.

Note that this happens eveytime on both windows and mac. I tested on 3 different computers. the bug is worse in person becuase the video's frame rate is lowered.

 

 

any fix to this? I am getting flickering when I resize

Fixed flickering by adding empty resized() function to my MainWindow class