glx: remove always true XDAMAGE_1_1_INTERFACE guard
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 9 Feb 2017 13:35:51 +0000 (13:35 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 13 Feb 2017 10:14:32 +0000 (10:14 +0000)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glx/dri_glx.c

index d61ffa3b02140704e799b0b121e797627288f2f0..ae7e11c174b7f9dddfe43f8c4667f935b5971460 100644 (file)
@@ -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,