diff options
-rw-r--r-- | src/glx/dri2_glx.c | 2 |
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; } |