d3dx9: Skip AddRef + Release if SetValue is called with the old texture.
commit972dc565edaf7cff3173b146f340ffd817d0a018
authorMatteo Bruni <mbruni@codeweavers.com>
Wed, 14 Mar 2018 18:53:18 +0000 (14 19:53 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 14 Mar 2018 21:38:46 +0000 (14 22:38 +0100)
treea766517b564736b927d29d0b56a3cf44a2e9eafb
parent32ffef33339206195919023bcff112465478ad74
d3dx9: Skip AddRef + Release if SetValue is called with the old texture.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/d3dx9_36/effect.c