summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2014-11-25 00:38:08 +0100
committerEmil Velikov <[email protected]>2014-11-26 20:09:12 +0000
commit614d9387c796f384a26c85e156768d71bb17baeb (patch)
tree3173e10443f019f5479c1273b7ff0c6ea8c04a87 /src/gallium/state_trackers
parenta99f31bced1ac5dfea9942bb37301a21c9a73189 (diff)
st/nine: fix wrong variable reset
Error detected by Coverity (COPY_PASTE_ERROR) Cc: "10.4" <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> Signed-off-by: Axel Davy <[email protected]> Signed-off-by: David Heidelberg <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/nine/nine_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c
index 0215d080808..6924449cb7e 100644
--- a/src/gallium/state_trackers/nine/nine_state.c
+++ b/src/gallium/state_trackers/nine/nine_state.c
@@ -400,7 +400,7 @@ update_constants(struct NineDevice9 *device, unsigned shader_type)
const_i = &device->state.ps_const_i[0][0];
dirty_b = device->state.changed.ps_const_b;
- device->state.changed.vs_const_b = 0;
+ device->state.changed.ps_const_b = 0;
const_b = device->state.ps_const_b;
b_true = device->ps_bool_true;