c++ - Lifecycle of an OpenGLAppComponent in Juce -
    i can't seem grasp on how these openglappcomponents come , go. can please correct thinking if wrong?    object created inheirts openglappcomponents , timer. object exists in audioprocessoreditor.  call initialise() (this attach openglcontext? timer started.)  addandmakevisible(&my_gl_appcomponent); called editor, telling drawn.  my_gl_appcomponent.setbounds(...) called specifying size , location of gl component.  the timer callback calls repaint() repeatedly, updating display.  when editor closed, call shutdown(), detach openglcontext.  delete my_gl_component, calling shutdownopengl() in destructor  we free open editor again, goto 2.    am missing anything? have things? i've been trying find cause of gl_invalid_framebuffer_operation error second day in row , i'm getting pretty frustrated.