summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-11-27 16:33:43 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-11-27 16:33:43 +0000
commit3e6ef125f06cf036831063e46ee08bd17c4c4417 (patch)
tree772cb8eec97d76a34257e19972bd9f237520184d /src
parent85365e6aa4608ea684ff770def7f0f7b354173df (diff)
replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
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;