wined3d: Always initialize fx field in struct wined3d_cs_blt_sub_resource (Valgrind).
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
10a62ee062
commit
aac99bf2ce
|
@ -2110,6 +2110,8 @@ void wined3d_cs_emit_blt_sub_resource(struct wined3d_cs *cs, struct wined3d_reso
|
|||
op->flags = flags;
|
||||
if (fx)
|
||||
op->fx = *fx;
|
||||
else
|
||||
memset(&op->fx, 0, sizeof(op->fx));
|
||||
op->filter = filter;
|
||||
|
||||
wined3d_resource_acquire(dst_resource);
|
||||
|
|
Loading…
Reference in New Issue