From c614f0b1b4cf0ee7c9e4f52aff50bfff0ad3f60c Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Tue, 14 Jun 2016 22:57:26 +0200 Subject: [PATCH] d3dx9: Turn an ERR into a WARN. It can potentially happen if the application passes broken effect data. Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- dlls/d3dx9_36/preshader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3dx9_36/preshader.c b/dlls/d3dx9_36/preshader.c index 78f3bdb3922..68301fece2b 100644 --- a/dlls/d3dx9_36/preshader.c +++ b/dlls/d3dx9_36/preshader.c @@ -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; -- 2.11.4.GIT