projects
/
profile
/
ivi
/
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
44ee046
..
7ff45cf
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;