reassign 384518 r-cran-rgl
reassign 357439 libwxgtk2.6-0
kthxbye

Looks like I still didn't look at these errors closely enough... :}

Looking at the function DoMakeCurrent() in the xorg-server file
glxcmds.c, it only returns BadMatch or GLXBadContextState under two
conditions, which are stated explicitly in the GLX spec: 

        'GLXBadContextState is generated if there is a current rendering
        context and its render mode is either GL FEEDBACK or GL SELECT.'

        (So the problem is that the *previously bound* context has
        render mode != GL_RENDER, not the newly bound one)

and

        'If ctx is NULL and draw is not None, or if draw is None and ctx
        is not NULL, then a BadMatch error will be generated.'

So it would appear that these errors are caused by bugs not in the GLX
implementation but in the components which call glXMakeCurrent, and I'm
reassigning them back. Of course, it's possible that these errors
originate from DoMakeCurrent()'s calls to GetDrawableOrPixmap() or
__glXForceCurrent() or are otherwise caused by circumstances which
aren't the fault of these components. If you suspect so, please trace
the DoMakeCurrent() function with gdb or debugging output to find out
why it generates these errors.

Apologies for not realizing this earlier, I hope this is still useful.


-- 
Earthling Michel Dänzer           |          http://tungstengraphics.com
Libre software enthusiast         |          Debian, X and DRI developer

Reply via email to