From 3e6ef125f06cf036831063e46ee08bd17c4c4417 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 27 Nov 2006 16:33:43 +0000 Subject: [PATCH] replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144) --- src/mesa/main/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 44ee046..7ff45cf 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; -- 2.7.4