summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/unichrome/via_context.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2004-12-30 16:30:26 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2004-12-30 16:30:26 +0000
commitc664f0c5155da800c34de1783754313e86654eda (patch)
tree2d8c7ab7452a987b432367191d1f5bd619f57189 /src/mesa/drivers/dri/unichrome/via_context.h
parent8be4747fd642aef719f9ee55a42f05fe69a043eb (diff)
Calculate DEPTH_SCALE correctly for polygon offset.
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_context.h')
-rw-r--r--src/mesa/drivers/dri/unichrome/via_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_context.h b/src/mesa/drivers/dri/unichrome/via_context.h
index 25def2e075..a409b8c6b7 100644
--- a/src/mesa/drivers/dri/unichrome/via_context.h
+++ b/src/mesa/drivers/dri/unichrome/via_context.h
@@ -103,6 +103,7 @@ struct via_context_t {
GLuint depth_clear_mask;
GLuint stencil_clear_mask;
GLfloat depth_max;
+ GLfloat polygon_offset_scale;
GLubyte *dma;
viaRegion tex;