d3dx9: Do not set active pass if BeginPass() failed.
commita79da9689d95e59e36ea32ca118331931e6799b4
authorPaul Gofman <gofmanp@gmail.com>
Fri, 5 May 2017 11:34:30 +0000 (5 14:34 +0300)
committerAlexandre Julliard <julliard@winehq.org>
Sun, 7 May 2017 21:19:27 +0000 (7 16:19 -0500)
tree52a122c8cbbcc3f50e484a35930d8451e7d30466
parent393ec970c80baa0d6b37a7b073883f458ce7289a
d3dx9: Do not set active pass if BeginPass() failed.

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