From: Emil Velikov Date: Thu, 9 Feb 2017 13:35:51 +0000 (+0000) Subject: glx: remove always true XDAMAGE_1_1_INTERFACE guard X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=261d5e4c6da546f2edc0f3a0e5432fc56e3aeeb8;p=mesa.git glx: remove always true XDAMAGE_1_1_INTERFACE guard Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c index d61ffa3b021..ae7e11c174b 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,