[PATCH 2/2] glx: damage is only used with DRI

=?utf-8?q?RALOVICH =?utf-8?q?RALOVICH
Mon Jun 29 06:52:06 PDT 2009


---
 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 mailing list