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
0ea66861
Commit
0ea66861
authored
Mar 19, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Mar 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Fix comparison in IDirect3DDevice8Impl_DeleteVertexShader.
parent
dbd582cf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/d3d8/device.c
+3
-3
No files found.
dlls/d3d8/device.c
View file @
0ea66861
...
...
@@ -1140,11 +1140,11 @@ HRESULT WINAPI IDirect3DDevice8Impl_DeleteVertexShader(LPDIRECT3DDEVICE8 iface
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
HRESULT
hrc
=
D3D_OK
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
if
(
VS_HIGHESTFIXEDFXF
<=
pShader
)
{
WARN
(
"(%p) : Caller
as passed a shader below the valud
of VS_HIGHESTFIXEDFXF
\n
"
,
This
);
if
(
pShader
<=
VS_HIGHESTFIXEDFXF
)
{
WARN
(
"(%p) : Caller
passed a shader below the value
of VS_HIGHESTFIXEDFXF
\n
"
,
This
);
hrc
=
D3DERR_INVALIDCALL
;
}
else
if
(
MAX_SHADERS
<=
pShader
-
(
VS_HIGHESTFIXEDFXF
+
1
))
{
FIXME
(
"(%p) : Caller
as
passed a shader greater than the maximum number of shaders
\n
"
,
This
);
FIXME
(
"(%p) : Caller passed a shader greater than the maximum number of shaders
\n
"
,
This
);
hrc
=
D3DERR_INVALIDCALL
;
}
else
{
IDirect3DVertexShader8Impl
*
shader
=
This
->
vShaders
[
pShader
-
(
VS_HIGHESTFIXEDFXF
+
1
)];
...
...
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