From c8f407bcec7619eb2030ea9fe52501ad33075699 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 18 May 2010 14:02:57 -0400 Subject: [PATCH] dri2_glx: Terminate loader extension list outside #ifdef --- src/glx/dri2_glx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2