summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-10-21 00:02:47 +0000
committerBrian Paul <[email protected]>2000-10-21 00:02:47 +0000
commitd0d7d62120d7448924655c4683bab6bd5667256e (patch)
tree061ce6882fe759058c8d45fe28e21347f616a85d /src/mesa/main/polygon.c
parentd475730357ff1595470fbe9856b2c88ad0a771ca (diff)
polygon offset changes; added Visual->MRD field
Diffstat (limited to 'src/mesa/main/polygon.c')
-rw-r--r--src/mesa/main/polygon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c
index 5ca3ffbc945..c96d3355b32 100644
--- a/src/mesa/main/polygon.c
+++ b/src/mesa/main/polygon.c
@@ -1,4 +1,4 @@
-/* $Id: polygon.c,v 1.12 2000/09/26 20:53:53 brianp Exp $ */
+/* $Id: polygon.c,v 1.13 2000/10/21 00:02:47 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -178,6 +178,7 @@ _mesa_PolygonOffset( GLfloat factor, GLfloat units )
ctx->Polygon.OffsetFactor = factor;
ctx->Polygon.OffsetUnits = units;
+ ctx->Polygon.OffsetMRD = units * ctx->Visual.MRD;
}