projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85365e6
)
replace check for XFree86LOADER and IN_MODULE with XFree86Server (bug 9144)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 27 Nov 2006 16:33:43 +0000
(16:33 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 27 Nov 2006 16:33:43 +0000
(16:33 +0000)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 44ee04656907e480b1cb3743e1d8ed4f6d8c2210..7ff45cffe8b9458a987f1e7c6e8190a8894ffb00 100644
(file)
--- 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(XFree86
LOADER) && defined(IN_MODULE
)
+#if defined(XFree86
Server
)
ctx->Const.CheckArrayBounds = GL_TRUE;
#else
ctx->Const.CheckArrayBounds = GL_FALSE;