summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/i915simple
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/gallium/drivers/i915simple
parent2299f21f8da816fc4588492965e7dac422da1a96 (diff)
gallium: it's a reference value, not a reference number
Diffstat (limited to 'src/gallium/drivers/i915simple')
-rw-r--r--src/gallium/drivers/i915simple/i915_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915simple/i915_state.c b/src/gallium/drivers/i915simple/i915_state.c
index 92365f6a7a..f46e46eb22 100644
--- a/src/gallium/drivers/i915simple/i915_state.c
+++ b/src/gallium/drivers/i915simple/i915_state.c
@@ -394,7 +394,7 @@ i915_create_depth_stencil_state(struct pipe_context *pipe,
if (depth_stencil->alpha.enabled) {
int test = i915_translate_compare_func(depth_stencil->alpha.func);
- ubyte refByte = float_to_ubyte(depth_stencil->alpha.ref);
+ ubyte refByte = float_to_ubyte(depth_stencil->alpha.ref_value);
cso->depth_LIS6 |= (S6_ALPHA_TEST_ENABLE |
(test << S6_ALPHA_TEST_FUNC_SHIFT) |