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
05d461ae
Commit
05d461ae
authored
Mar 12, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Mar 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove some redundant checks in the vertexdeclaration() state handler.
parent
30ee071e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
state.c
dlls/wined3d/state.c
+1
-4
No files found.
dlls/wined3d/state.c
View file @
05d461ae
...
@@ -2905,10 +2905,7 @@ static void vertexdeclaration(DWORD state, IWineD3DStateBlockImpl *stateblock, W
...
@@ -2905,10 +2905,7 @@ static void vertexdeclaration(DWORD state, IWineD3DStateBlockImpl *stateblock, W
handleStreams
(
stateblock
,
useVertexShaderFunction
,
context
);
handleStreams
(
stateblock
,
useVertexShaderFunction
,
context
);
/* Do I have to use ? TRUE : FALSE ? Or can I rely on 15==15 being equal to TRUE(=1)? */
transformed
=
device
->
strided_streams
.
u
.
s
.
position_transformed
;
transformed
=
((
device
->
strided_streams
.
u
.
s
.
position
.
lpData
!=
NULL
||
device
->
strided_streams
.
u
.
s
.
position
.
VBO
!=
0
)
&&
device
->
strided_streams
.
u
.
s
.
position_transformed
)
?
TRUE
:
FALSE
;
if
(
transformed
)
useVertexShaderFunction
=
FALSE
;
if
(
transformed
)
useVertexShaderFunction
=
FALSE
;
if
(
transformed
!=
context
->
last_was_rhw
&&
!
useVertexShaderFunction
)
{
if
(
transformed
!=
context
->
last_was_rhw
&&
!
useVertexShaderFunction
)
{
...
...
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