summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-09 13:35:51 +0000
committerEmil Velikov <[email protected]>2017-02-13 10:14:32 +0000
commit261d5e4c6da546f2edc0f3a0e5432fc56e3aeeb8 (patch)
tree9277a44981b2315a09c408547c5a27c3c3259e45 /src/glx
parent87f485e957e5fda016df55083a47aa35911c5d42 (diff)
glx: remove always true XDAMAGE_1_1_INTERFACE guard
Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/dri_glx.c4
1 files changed, 0 insertions, 4 deletions
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,