summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-05-18 14:02:57 -0400
committerKristian Høgsberg <[email protected]>2010-05-18 22:58:01 -0400
commitc8f407bcec7619eb2030ea9fe52501ad33075699 (patch)
tree6bbf6e31801798b368189d7b20e83c5aabcbc20b /src/glx
parent1712643a297d66b7a45155fc88937109935687fb (diff)
dri2_glx: Terminate loader extension list outside #ifdef
Diffstat (limited to 'src/glx')
-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 eafb87c3597..17352e9a5ae 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;
}