Menu

#415 LibGL compatability between releases

Other
closed-fixed
6
2002-03-22
2002-03-09
Jens Owen
No

Addition of ReadDrawable field broke compatability
between older libGL.so's and new 3D drivers. Here is
comments from Brian:

Jens Owen wrote:
> It looks like a new field was recently added to the
GLXContextRec
> xc/lib/GL/glx/glxclient.h:407
>
> GLXDrawable currentReadable;

I added that last summer when I was implementing the
GLX_SGI_make_current_read extension
(glXMakeCurrentReadSGI() funcion). Keith discovered
months ago that adding the new field broke backward
compatibility. I told him that he could remove the
field (and replace currentReadable with
currentDrawable).

I guess he didn't.

> I've moved this field to the end of the structure and
the libGL.so
> compatability issue appears to be fixed.

Hmmm, that might be good enough, but I'm not 100%
certain.

> Wasn't this stuff recently submitted to the DRI
trunk? Maybe we can
> fix this incompatability if this hasn't propogated
out to any major
> distros, yet.

Yes, we should really fix it ASAP.

-Brian

Discussion

  • Jens Owen

    Jens Owen - 2002-03-09

    Patch to move ReadDrawable to end of structure

     
  • Jens Owen

    Jens Owen - 2002-03-22
    • status: open --> closed-fixed
     
  • Jens Owen

    Jens Owen - 2002-03-22

    Logged In: YES
    user_id=1159

    Brian has fixed this.

     

Log in to post a comment.