summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_atom_depth.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-01-26 15:07:08 -0500
committerZack Rusin <zackr@vmware.com>2009-01-27 12:20:26 -0500
commitd6888e811d24eaa7e8d9093be606394f00435c05 (patch)
tree080d4217e5d04c9e3fbeb98a270ab87e63eec6bc /src/mesa/state_tracker/st_atom_depth.c
parent2299f21f8da816fc4588492965e7dac422da1a96 (diff)
gallium: it's a reference value, not a reference number
Diffstat (limited to 'src/mesa/state_tracker/st_atom_depth.c')
-rw-r--r--src/mesa/state_tracker/st_atom_depth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_depth.c b/src/mesa/state_tracker/st_atom_depth.c
index 8b5f22d0ef..2d617bd95d 100644
--- a/src/mesa/state_tracker/st_atom_depth.c
+++ b/src/mesa/state_tracker/st_atom_depth.c
@@ -134,7 +134,7 @@ update_depth_stencil_alpha(struct st_context *st)
if (st->ctx->Color.AlphaEnabled) {
dsa->alpha.enabled = 1;
dsa->alpha.func = st_compare_func_to_pipe(st->ctx->Color.AlphaFunc);
- dsa->alpha.ref = st->ctx->Color.AlphaRef;
+ dsa->alpha.ref_value = st->ctx->Color.AlphaRef;
}
cso_set_depth_stencil_alpha(st->cso_context, dsa);