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
0f236745
Commit
0f236745
authored
Oct 03, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 06, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/9: Use WINED3D_OK instead of D3D_OK in vertexshader.c.
parent
87175c61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
vertexshader.c
dlls/d3d8/vertexshader.c
+2
-2
vertexshader.c
dlls/d3d9/vertexshader.c
+2
-2
No files found.
dlls/d3d8/vertexshader.c
View file @
0f236745
...
...
@@ -67,11 +67,11 @@ static ULONG WINAPI IDirect3DVertexShader8Impl_Release(IDirect3DVertexShader8 *i
static
HRESULT
WINAPI
IDirect3DVertexShader8Impl_GetDevice
(
IDirect3DVertexShader8
*
iface
,
IDirect3DDevice8
**
ppDevice
)
{
IDirect3DVertexShader8Impl
*
This
=
(
IDirect3DVertexShader8Impl
*
)
iface
;
IWineD3DDevice
*
myDevice
=
NULL
;
HRESULT
hr
=
D3D_OK
;
HRESULT
hr
;
TRACE
(
"(%p) : Relay
\n
"
,
This
);
hr
=
IWineD3DVertexShader_GetDevice
(
This
->
wineD3DVertexShader
,
&
myDevice
);
if
(
D3D_OK
==
hr
&&
myDevice
!=
NULL
)
{
if
(
WINE
D3D_OK
==
hr
&&
myDevice
!=
NULL
)
{
hr
=
IWineD3DDevice_GetParent
(
myDevice
,
(
IUnknown
**
)
ppDevice
);
IWineD3DDevice_Release
(
myDevice
);
}
else
{
...
...
dlls/d3d9/vertexshader.c
View file @
0f236745
...
...
@@ -69,12 +69,12 @@ static ULONG WINAPI IDirect3DVertexShader9Impl_Release(LPDIRECT3DVERTEXSHADER9 i
static
HRESULT
WINAPI
IDirect3DVertexShader9Impl_GetDevice
(
LPDIRECT3DVERTEXSHADER9
iface
,
IDirect3DDevice9
**
ppDevice
)
{
IDirect3DVertexShader9Impl
*
This
=
(
IDirect3DVertexShader9Impl
*
)
iface
;
IWineD3DDevice
*
myDevice
=
NULL
;
HRESULT
hr
=
D3D_OK
;
HRESULT
hr
;
TRACE
(
"(%p) : Relay
\n
"
,
This
);
EnterCriticalSection
(
&
d3d9_cs
);
hr
=
IWineD3DVertexShader_GetDevice
(
This
->
wineD3DVertexShader
,
&
myDevice
);
if
(
D3D_OK
==
hr
&&
myDevice
!=
NULL
)
{
if
(
WINE
D3D_OK
==
hr
&&
myDevice
!=
NULL
)
{
hr
=
IWineD3DDevice_GetParent
(
myDevice
,
(
IUnknown
**
)
ppDevice
);
IWineD3DDevice_Release
(
myDevice
);
}
else
{
...
...
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