From: Kristian Høgsberg Date: Tue, 18 May 2010 18:02:57 +0000 (-0400) Subject: dri2_glx: Terminate loader extension list outside #ifdef X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8f407bcec7619eb2030ea9fe52501ad33075699;p=mesa.git dri2_glx: Terminate loader extension list outside #ifdef --- 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; }