[Mesa-dev] [PATCH 08/10] glx: remove always true XDAMAGE_1_1_INTERFACE guard

Emil Velikov emil.l.velikov at gmail.com
Thu Feb 9 13:35:51 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
Strictly speaking one could modularise the dri1/2/3 parts - from
source (location etc.) and build POV, but that is an exercise for
another day.
---
 src/glx/dri_glx.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c
index d61ffa3b02..ae7e11c174 100644
--- a/src/glx/dri_glx.c
+++ b/src/glx/dri_glx.c
@@ -199,8 +199,6 @@ glXGetDriverConfig(const char *driverName)
    return dlsym(handle, "__driConfigOptions");
 }
 
-#ifdef XDAMAGE_1_1_INTERFACE
-
 static GLboolean
 has_damage_post(Display * dpy)
 {
@@ -274,8 +272,6 @@ static const __DRIdamageExtension damageExtension = {
    .reportDamage        = __glXReportDamage,
 };
 
-#endif
-
 static GLboolean
 __glXDRIGetDrawableInfo(__DRIdrawable * drawable,
                         unsigned int *index, unsigned int *stamp,
-- 
2.11.0



More information about the mesa-dev mailing list