summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv10
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2009-01-26 15:07:08 -0500
committerZack Rusin <[email protected]>2009-01-27 12:20:26 -0500
commitd6888e811d24eaa7e8d9093be606394f00435c05 (patch)
tree080d4217e5d04c9e3fbeb98a270ab87e63eec6bc /src/gallium/drivers/nv10
parent2299f21f8da816fc4588492965e7dac422da1a96 (diff)
gallium: it's a reference value, not a reference number
Diffstat (limited to 'src/gallium/drivers/nv10')
-rw-r--r--src/gallium/drivers/nv10/nv10_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv10/nv10_state.c b/src/gallium/drivers/nv10/nv10_state.c
index e401b3590e1..622bcdf22e7 100644
--- a/src/gallium/drivers/nv10/nv10_state.c
+++ b/src/gallium/drivers/nv10/nv10_state.c
@@ -352,7 +352,7 @@ nv10_depth_stencil_alpha_state_create(struct pipe_context *pipe,
hw->alpha.enabled = cso->alpha.enabled ? 1 : 0;
hw->alpha.func = nvgl_comparison_op(cso->alpha.func);
- hw->alpha.ref = float_to_ubyte(cso->alpha.ref);
+ hw->alpha.ref = float_to_ubyte(cso->alpha.ref_value);
return (void *)hw;
}