From: Brian Paul Date: Mon, 27 Nov 2006 16:33:43 +0000 (+0000) Subject: replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e6ef125f06cf036831063e46ee08bd17c4c4417;p=mesa.git replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144) --- diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 44ee0465690..7ff45cffe8b 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1086,7 +1086,7 @@ _mesa_init_constants( GLcontext *ctx ) /* If we're running in the X server, do bounds checking to prevent * segfaults and server crashes! */ -#if defined(XFree86LOADER) && defined(IN_MODULE) +#if defined(XFree86Server) ctx->Const.CheckArrayBounds = GL_TRUE; #else ctx->Const.CheckArrayBounds = GL_FALSE;