From 261d5e4c6da546f2edc0f3a0e5432fc56e3aeeb8 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 9 Feb 2017 13:35:51 +0000 Subject: glx: remove always true XDAMAGE_1_1_INTERFACE guard Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- src/glx/dri_glx.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/glx') 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, -- cgit v1.2.3