diff options
author | Zack Rusin <[email protected]> | 2009-01-26 15:07:08 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2009-01-27 12:20:26 -0500 |
commit | d6888e811d24eaa7e8d9093be606394f00435c05 (patch) | |
tree | 080d4217e5d04c9e3fbeb98a270ab87e63eec6bc /src/gallium/drivers/nv20/nv20_state.c | |
parent | 2299f21f8da816fc4588492965e7dac422da1a96 (diff) |
gallium: it's a reference value, not a reference number
Diffstat (limited to 'src/gallium/drivers/nv20/nv20_state.c')
-rw-r--r-- | src/gallium/drivers/nv20/nv20_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv20/nv20_state.c b/src/gallium/drivers/nv20/nv20_state.c index 8eb2bee93d3..e8dc9665e82 100644 --- a/src/gallium/drivers/nv20/nv20_state.c +++ b/src/gallium/drivers/nv20/nv20_state.c @@ -345,7 +345,7 @@ nv20_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; } |