d3dx9: Dump bytecode if parameter evaluator creation 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>
This commit is contained in:
parent
14fab72269
commit
c48658dbb8
|
@ -1324,6 +1324,9 @@ HRESULT d3dx_create_param_eval(struct d3dx9_base_effect *base_effect, void *byte
|
|||
|
||||
err_out:
|
||||
WARN("Error creating parameter evaluator.\n");
|
||||
if (TRACE_ON(d3dx))
|
||||
dump_bytecode(byte_code, byte_code_size);
|
||||
|
||||
d3dx_free_param_eval(peval);
|
||||
*peval_out = NULL;
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue