At Mesa 7.6.1 , src/glx/x11/glxcurrent.c line 369: __GLXDRIdrawable *pdraw = FetchDRIDrawable(dpy, draw, gc); __GLXDRIdrawable *pread = FetchDRIDrawable(dpy, read, gc);
if ((pdraw == NULL) || (pread == NULL)) { __glXGenerateError(dpy, gc, (pdraw == NULL) ? draw : read, GLXBadDrawable, X_GLXMakeContextCurrent); /////////////////////////////////////////// // If one of pdraw or pread is not NULL, they'll be not freed. /////////////////////////////////////////// return False; } Anyway, how is it supposed to be freed in a normal situation? I mean, I create a context (glXCreateContext), make it current (MakeContextCurrent). At the end of program, I do another glXMakeCurrent(display, None, NULL) and destroy my context (glXDestroyContext(display, context)). But the pdraw is not freed... Regards, Rodolfo PS: Using Mesa 7.6.1 and radeon r300 driver with dri ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev