[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    [PATCH] glx: damage is only used with DRI
From:       RALOVICH, Kristóf <kristof.ralovich () gmail ! com>
Date:       2009-06-29 14:08:09
Message-ID: 5712ce4f0906290708l54ee3888v3910971397b3a40a () mail ! gmail ! com
[Download RAW message or body]

Compile tested.

Please review and apply.

Thanks,
Kristof

From 903dcd1692d4857e50f7ac6b073092d952a251ac Mon Sep 17 00:00:00 2001
From: =?utf-8?q?RALOVICH, Kristóf?= <tade60@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
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic