st/nine: fix wrong variable reset
Error detected by Coverity (COPY_PASTE_ERROR) Cc: "10.4" <mesa-stable@lists.freedesktop.org> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Axel Davy <axel.davy@ens.fr> Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user