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
defe6417
Commit
defe6417
authored
Dec 22, 2008
by
Vincent Pelletier
Committed by
Alexandre Julliard
Dec 23, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Set IDirect3DDevice9Impl_GetVertexShader return value to NULL on error.
parent
878c2a83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vertexshader.c
dlls/d3d9/vertexshader.c
+1
-0
No files found.
dlls/d3d9/vertexshader.c
View file @
defe6417
...
@@ -170,6 +170,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetVertexShader(LPDIRECT3DDEVICE9EX iface, I
...
@@ -170,6 +170,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetVertexShader(LPDIRECT3DDEVICE9EX iface, I
hrc
=
IWineD3DVertexShader_GetParent
(
pShader
,
(
IUnknown
**
)
ppShader
);
hrc
=
IWineD3DVertexShader_GetParent
(
pShader
,
(
IUnknown
**
)
ppShader
);
IWineD3DVertexShader_Release
(
pShader
);
IWineD3DVertexShader_Release
(
pShader
);
}
else
{
}
else
{
*
ppShader
=
NULL
;
WARN
(
"(%p) : Call to IWineD3DDevice_GetVertexShader failed %u (device %p)
\n
"
,
This
,
hrc
,
This
->
WineD3DDevice
);
WARN
(
"(%p) : Call to IWineD3DDevice_GetVertexShader failed %u (device %p)
\n
"
,
This
,
hrc
,
This
->
WineD3DDevice
);
}
}
LeaveCriticalSection
(
&
d3d9_cs
);
LeaveCriticalSection
(
&
d3d9_cs
);
...
...
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