[PATCH] glx: Use 0 rather than garbage for unknown INTEL_swap_event types

Jesse Barnes jbarnes at virtuousgeek.org
Thu Apr 14 14:07:44 PDT 2011


On Thu, 14 Apr 2011 16:57:30 -0400
Adam Jackson <ajax at redhat.com> wrote:

> Otherwise the garbage you return could well be numerically identical to
> one of the swap type tokens, and apps which rely on us to tell the truth
> would be in trouble.
> 
> Signed-off-by: Adam Jackson <ajax at redhat.com>

Good catch.

Reviewed-by: Jesse Barnes <jbarnes at virtuousgeek.org>


More information about the xorg-devel mailing list