mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 23:11:47 +00:00
d3dx10: Turn some ERR() into WARN().
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
aee9fa0e55
commit
6d80137705
|
@ -115,7 +115,7 @@ static HRESULT WINAPI filedataloader_Load(ID3DX10DataLoader *iface)
|
|||
CloseHandle(file);
|
||||
if (!ret)
|
||||
{
|
||||
ERR("Failed to read file contents.\n");
|
||||
WARN("Failed to read file contents.\n");
|
||||
HeapFree(GetProcessHeap(), 0, data);
|
||||
return E_FAIL;
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ static HRESULT WINAPI resourcedataloader_Load(ID3DX10DataLoader *iface)
|
|||
hglobal = LoadResource(loader->u.resource.module, loader->u.resource.rsrc);
|
||||
if (!hglobal)
|
||||
{
|
||||
ERR("Failed to load resource.\n");
|
||||
WARN("Failed to load resource.\n");
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
@ -349,7 +349,7 @@ HRESULT WINAPI D3DX10CreateAsyncResourceLoaderA(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 D3DX10_ERR_INVALID_DATA;
|
||||
}
|
||||
|
@ -381,7 +381,7 @@ HRESULT WINAPI D3DX10CreateAsyncResourceLoaderW(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 D3DX10_ERR_INVALID_DATA;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue