diff options
author | Brian Paul <[email protected]> | 2006-11-27 16:33:43 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-27 16:33:43 +0000 |
commit | 3e6ef125f06cf036831063e46ee08bd17c4c4417 (patch) | |
tree | 772cb8eec97d76a34257e19972bd9f237520184d | |
parent | 85365e6aa4608ea684ff770def7f0f7b354173df (diff) |
replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
-rw-r--r-- | src/mesa/main/context.c | 2 |
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; |