OpenGL hang


#1

Hey guys, Not sure if this is a known bug however on some older graphics cards using the OpenGL context I get hangs when resizing the window / switching out components. I have found on some forums that there are some graphics cards which respond very poorly to getting many glClear calls between swapping buffers. To fix the hang on this specific machine I actually commented out the glClear call in juceOpenGLImage.cpp line 192 This had not visual side effects because the glClear call was happening elsewhere and it does not need to be cleared twice. This clearly is not the fix however it may help in finding a fix.

Thanks!


#2

Hmmm interesting, I remember some old posts on the forum here reporting the same thing (can’t seem to find them anymore). I thought that even these old graphics cards all had driver updates fixing the glClear problem.