From bc920f08f5c6f75c8945bc90a71db93bb16ac1f8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 7 May 2001 16:32:51 +0000 Subject: [PATCH] set MRD to 1.0, fixes new Glean polygon offset failure --- src/mesa/main/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index d09ca7f8539..f855b90f3ce 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.136 2001/05/03 14:11:18 brianp Exp $ */ +/* $Id: context.c,v 1.137 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) -- 2.30.2