[mesa patch v4 1/3] dri2: Event driven buffer validation.
Julien Cristau
jcristau at debian.org
Tue Feb 16 04:45:02 PST 2010
On Mon, Feb 8, 2010 at 19:27:56 +0100, Francisco Jerez wrote:
> diff --git a/src/glx/x11/dri2.c b/src/glx/x11/dri2.c
> index 91053d3..e692c8c 100644
> --- a/src/glx/x11/dri2.c
> +++ b/src/glx/x11/dri2.c
> @@ -81,7 +81,7 @@ static XEXT_GENERATE_FIND_DISPLAY (DRI2FindDisplay,
> dri2Info,
> dri2ExtensionName,
> &dri2ExtensionHooks,
> - 1, NULL)
> + DRI2NumberEvents, NULL)
>
This is buggy. It registers 2 dri2 events in Xlib, even though the
server might only know about one, and thus use the next event code for a
different extension. See
http://lists.freedesktop.org/pipermail/xorg/2009-November/048184.html
Cheers,
Julien
More information about the xorg-devel
mailing list