Inside my main window I have 3 separate custom components which all do OpenGL rendering. Specifically they each create an OpenGLContext, call setRenderer(this) on the context (they each implement OpenGLRenderer), and then call attach(*this) on the context. The actual rendering is done in renderOpenGL() and that all seems to be working fine.
The only problem I see is when I maximize the window and then restore it to original size. After maximizing everything looks fine, but after restoring, one of the components doesn't redraw itself - instead it's just filled with the background color of the parent window. Further maximize/restores don't make it reappear. However, after minimizing and restoring it will appear again as normal.
Any idea why this would be happening? I'm using JUCE 3.2.0, on OS X 10.9.5.