Commit c614f0b1 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3dx9: Turn an ERR into a WARN.

It can potentially happen if the application passes broken effect data. Signed-off-by: 's avatarMatteo Bruni <mbruni@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent ae8fc713
......@@ -524,7 +524,7 @@ static HRESULT get_constants_desc(unsigned int *byte_code, struct d3dx_const_tab
if (cdesc[i].Class == D3DXPC_OBJECT)
TRACE("Object %s, parameter %p.\n", cdesc[i].Name, inputs_param[i]);
else if (!inputs_param[i])
ERR("Could not find parameter %s in effect.\n", cdesc[i].Name);
WARN("Could not find parameter %s in effect.\n", cdesc[i].Name);
}
out->input_count = desc.Constants;
out->inputs = cdesc;
......
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