Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6d801377
Commit
6d801377
authored
Jun 21, 2018
by
Matteo Bruni
Committed by
Alexandre Julliard
Jun 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx10: Turn some ERR() into WARN().
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aee9fa0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
async.c
dlls/d3dx10_43/async.c
+4
-4
No files found.
dlls/d3dx10_43/async.c
View file @
6d801377
...
...
@@ -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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment