[PATCH] glx: damage is only used with DRI

RALOVICH, Kristóf kristof.ralovich at gmail.com
Thu Jul 2 02:00:33 PDT 2009


Please review and apply.

Thanks,
Kristof

On Mon, Jun 29, 2009 at 16:08, RALOVICH,
Kristóf<kristof.ralovich at gmail.com> wrote:
> Compile tested.
>
> Please review and apply.
>
> Thanks,
> Kristof
>
> From 903dcd1692d4857e50f7ac6b073092d952a251ac Mon Sep 17 00:00:00 2001
> From: =?utf-8?q?RALOVICH,=20Krist=C3=B3f?= <tade60 at freemail.hu>
> Date: Mon, 29 Jun 2009 15:52:06 +0200
> Subject: [PATCH 2/2] glx: damage is only used with DRI
>
> ---
>  glx/glxdrawable.h |    2 --
>  glx/glxdri.c      |    1 +
>  2 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/glx/glxdrawable.h b/glx/glxdrawable.h
> index 0215b3b..3f165ed 100644
> --- a/glx/glxdrawable.h
> +++ b/glx/glxdrawable.h
> @@ -35,8 +35,6 @@
>  * Silicon Graphics, Inc.
>  */
>
> -#include <damage.h>
> -
>  /* We just need to avoid clashing with DRAWABLE_{WINDOW,PIXMAP} */
>  enum {
>     GLX_DRAWABLE_WINDOW,
> diff --git a/glx/glxdri.c b/glx/glxdri.c
> index 5fb75a4..c9d226b 100644
> --- a/glx/glxdri.c
> +++ b/glx/glxdri.c
> @@ -38,6 +38,7 @@
>
>  #include <windowstr.h>
>  #include <os.h>
> +#include <damage.h>
>
>  #define _XF86DRI_SERVER_
>  #include <drm_sarea.h>
> --
> 1.6.3.3
>


More information about the xorg-devel mailing list