d3dx11: Downgrade ERR() to WARN() in D3DX11CreateAsyncResourceLoader*().

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2019-02-01 13:01:53 +01:00 committed by Alexandre Julliard
parent 453aa45980
commit 9679766e2e
1 changed files with 2 additions and 2 deletions

View File

@ -348,7 +348,7 @@ HRESULT WINAPI D3DX11CreateAsyncResourceLoaderA(HMODULE module, const char *reso
if (!(rsrc = FindResourceA(module, resource, (const char *)RT_RCDATA)))
{
ERR("Failed to find resource.\n");
WARN("Failed to find resource.\n");
HeapFree(GetProcessHeap(), 0, object);
return D3DX11_ERR_INVALID_DATA;
}
@ -380,7 +380,7 @@ HRESULT WINAPI D3DX11CreateAsyncResourceLoaderW(HMODULE module, const WCHAR *res
if (!(rsrc = FindResourceW(module, resource, (const WCHAR *)RT_RCDATA)))
{
ERR("Failed to find resource.\n");
WARN("Failed to find resource.\n");
HeapFree(GetProcessHeap(), 0, object);
return D3DX11_ERR_INVALID_DATA;
}