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/i915simple/i915_state.c | |
parent | 2299f21f8da816fc4588492965e7dac422da1a96 (diff) |
gallium: it's a reference value, not a reference number
Diffstat (limited to 'src/gallium/drivers/i915simple/i915_state.c')
-rw-r--r-- | src/gallium/drivers/i915simple/i915_state.c | 2 |
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 92365f6a7a2..f46e46eb22b 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) | |