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
6998d0d4
Commit
6998d0d4
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 a redundant check in handleStreams().
parent
05d461ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
state.c
dlls/wined3d/state.c
+3
-6
No files found.
dlls/wined3d/state.c
View file @
6998d0d4
...
...
@@ -2800,7 +2800,7 @@ static inline void handleStreams(IWineD3DStateBlockImpl *stateblock, BOOL useVer
if
(
TRACE_ON
(
d3d
))
{
drawPrimitiveTraceDataLocations
(
dataLocations
);
}
}
else
if
(
stateblock
->
vertexDecl
||
stateblock
->
vertexShader
)
{
}
else
if
(
stateblock
->
vertexDecl
)
{
/* Note: This is a fixed function or shader codepath.
* This means it must handle both types of strided data.
* Shaders must go through here to zero the strided data, even if they
...
...
@@ -2808,11 +2808,8 @@ static inline void handleStreams(IWineD3DStateBlockImpl *stateblock, BOOL useVer
*/
TRACE
(
"================ Vertex Declaration ===================
\n
"
);
memset
(
dataLocations
,
0
,
sizeof
(
*
dataLocations
));
if
(
stateblock
->
vertexDecl
)
{
primitiveDeclarationConvertToStridedData
((
IWineD3DDevice
*
)
device
,
useVertexShaderFunction
,
dataLocations
,
&
fixup
);
}
primitiveDeclarationConvertToStridedData
((
IWineD3DDevice
*
)
device
,
useVertexShaderFunction
,
dataLocations
,
&
fixup
);
}
else
{
/* Note: This codepath is not reachable from d3d9 (see fvf->decl9 conversion)
* It is reachable through d3d8, but only for fixed-function.
...
...
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