Is there anything which is exactly opposite to InitializeGL()? that we can call..?
Actually I am having particular requirement that on occurrence of an event I should stop drawing in PainGL().
I tried makeCurrent() but it still keeps on drawing, and gives seg-fault in QGLWidget::glDraw() while swapping buffers.
How do I go about it?
↧