summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glx/dri2_glx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index eafb87c359..17352e9a5a 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -739,8 +739,8 @@ dri2CreateDisplay(Display * dpy)
#ifdef __DRI_USE_INVALIDATE
if (pdp->invalidateAvailable)
pdp->loader_extensions[i++] = &dri2UseInvalidate.base;
- pdp->loader_extensions[i++] = NULL;
#endif
+ pdp->loader_extensions[i++] = NULL;
return &pdp->base;
}