[PATCH 2/2] glx: Destroy GLX drawables by the GLX XID

Kristian Høgsberg krh at bitplanet.net
Thu Apr 8 17:13:37 PDT 2010


2010/4/8 Kristian Høgsberg <krh at bitplanet.net>:
> The DestroyWindow hook only works when the GLX drawable XID is the same
> as the X window XID.  This is only the case for drawables created
> through the pre-GLX-1.3 compatibility mechanism.  GLX Drawables created
> using glXCreateWindow get a different XID and we need to look up the
> GLX private and pass the GLX XID to FreeResource instead.
>
> Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>

Oh, there should be a:

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=26394

in the commit message.

Kristian


More information about the xorg-devel mailing list