PDA

View Full Version : Functionality of QGLWidget's dtor



knaggy
4th December 2009, 16:45
Hi everybody,
I just wonder whether the display lists I created at run time are deleted automatically when the QGLWidget instance is destroyed or not.

The qt doc of the QGLContext says "Destroys the OpenGL context and frees its resources."
Thus "resources" are freed, because QGLWidget has a QGLContext.

But is a display list this kind of "resource" the QGLContext is freeing on destruction?

Regards, knaggy. :)