projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dae6217
)
set MRD to 1.0, fixes new Glean polygon offset failure
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 7 May 2001 16:32:51 +0000
(16:32 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 7 May 2001 16:32:51 +0000
(16:32 +0000)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index
d09ca7f
..
f855b90
100644
(file)
--- a/
src/mesa/main/context.c
+++ b/
src/mesa/main/context.c
@@
-1,4
+1,4
@@
-/* $Id: context.c,v 1.13
6 2001/05/03 14:11:18
brianp Exp $ */
+/* $Id: context.c,v 1.13
7 2001/05/07 16:32:51
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-1494,7
+1494,7
@@
_mesa_initialize_context( GLcontext *ctx,
ctx->DepthMax = 0xffffffff;
ctx->DepthMaxF = (GLfloat) ctx->DepthMax;
}
- ctx->MRD =
2.0; /* XXX temporary value
*/
+ ctx->MRD =
1.0; /* Minimum resolvable depth value, for polygon offset
*/
#if defined(MESA_TRACE)