mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
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:
parent
a99f31bced
commit
614d9387c7
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue