I may be wrong, I thought we get all the glx stuff from your group. Ian Romanick wrote: > Brian Paul wrote: > > Bukie Mabayoje wrote: > > > >> This is a mesa issue. > >> > >> "Willing, John (J.K.)" wrote: > >> > >>> While running with a commercial CAD program, we encountered a problem > >>> with the OpenGL libraries. > >>> > >>> In Function DoMakeCurrent > >>> 640 if (prevglxc) { > >>> 641 if (prevglxc->drawPixmap) { > >>> 642 if (prevglxc->drawPixmap != prevglxc->readPixmap) { > >>> 643 /* > >>> 644 ** The previous drawable was a glx pixmap, > >>> release it. > >>> 645 */ > >>> 646 prevglxc->readPixmap->refcnt--; > >>> > >>> We came across a problem where prevglxc->readPixmap is NULL causing a > >>> Segmentation Fault at line 646. I resolved the issue by changing > >>> line 641 to: > >>> > >>> 641 if (prevglxc->drawPixmap && prevglxc->readPixmap) { > >>> > >>> John Willing > > > > What file is that in? > > It's in programs/Xserver/GL/glx/glxcmds.c. This file is *NOT* in the > Mesa tree. This is part of the Xserver. Bukie, how do you figure that > this is a Mesa problem? _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86