Commit 614d9387 authored by Axel Davy's avatar Axel Davy Committed by Emil Velikov

st/nine: fix wrong variable reset

Error detected by Coverity (COPY_PASTE_ERROR)

Cc: "10.4" <>
Reviewed-by: Ilia Mirkin's avatarIlia Mirkin <>
Signed-off-by: Axel Davy's avatarAxel Davy <>
Signed-off-by: David Heidelberg's avatarDavid Heidelberg <>
parent a99f31bc
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment