about OpenGL application exit without glXDestroyContext
yfhuli at gmail.com
Tue Aug 16 20:15:00 PDT 2005
I am debugging with glx.
I find that NeHe lesson02 program has two version, one uses glX and
the other uses glut.
I run lesson02 with direct rendering mode, when closing the window,
the glX version will call glXDestroyContext then exit. but the glut
versionexit directly without calling glXDestroyContext.
I wonder if, when the glut version exit without glXDestroyContext, so
that the DRI doesn't know it, will it causes memory leak? such as the
framebuffer allocated when drawing.
Thanks for your help.
More information about the xorg