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
320aac97
Commit
320aac97
authored
Aug 17, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Aug 18, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Fix variable type in IDirect3DDevice9Impl_GetSoftwareVertexProcessing.
IWineD3DDevice_GetSoftwareVertexProcessing returns a BOOL, not an HRESULT.
parent
0427cf08
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/d3d9/device.c
+3
-3
No files found.
dlls/d3d9/device.c
View file @
320aac97
...
@@ -1149,13 +1149,13 @@ static HRESULT WINAPI IDirect3DDevice9Impl_SetSoftwareVertexProcessing(LPDIREC
...
@@ -1149,13 +1149,13 @@ static HRESULT WINAPI IDirect3DDevice9Impl_SetSoftwareVertexProcessing(LPDIREC
static
BOOL
WINAPI
IDirect3DDevice9Impl_GetSoftwareVertexProcessing
(
LPDIRECT3DDEVICE9EX
iface
)
{
static
BOOL
WINAPI
IDirect3DDevice9Impl_GetSoftwareVertexProcessing
(
LPDIRECT3DDEVICE9EX
iface
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
HRESULT
hr
;
BOOL
ret
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
TRACE
(
"(%p) Relay
\n
"
,
This
);
EnterCriticalSection
(
&
d3d9_cs
);
EnterCriticalSection
(
&
d3d9_cs
);
hr
=
IWineD3DDevice_GetSoftwareVertexProcessing
(
This
->
WineD3DDevice
);
ret
=
IWineD3DDevice_GetSoftwareVertexProcessing
(
This
->
WineD3DDevice
);
LeaveCriticalSection
(
&
d3d9_cs
);
LeaveCriticalSection
(
&
d3d9_cs
);
return
hr
;
return
ret
;
}
}
static
HRESULT
WINAPI
IDirect3DDevice9Impl_SetNPatchMode
(
LPDIRECT3DDEVICE9EX
iface
,
float
nSegments
)
{
static
HRESULT
WINAPI
IDirect3DDevice9Impl_SetNPatchMode
(
LPDIRECT3DDEVICE9EX
iface
,
float
nSegments
)
{
...
...
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