Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
62fff2ea
Commit
62fff2ea
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 code in IWineD3DVertexBufferImpl_FindDecl().
parent
6998d0d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
vertexbuffer.c
dlls/wined3d/vertexbuffer.c
+0
-7
No files found.
dlls/wined3d/vertexbuffer.c
View file @
62fff2ea
...
...
@@ -172,7 +172,6 @@ inline BOOL WINAPI IWineD3DVertexBufferImpl_FindDecl(IWineD3DVertexBufferImpl *T
return
FALSE
;
}
memset
(
&
strided
,
0
,
sizeof
(
strided
));
/* There are certain vertex data types that need to be fixed up. The Vertex Buffers FVF doesn't
* help finding them, only the vertex declaration or the device FVF can determine that at drawPrim
* time. Rules are as follows:
...
...
@@ -211,12 +210,6 @@ inline BOOL WINAPI IWineD3DVertexBufferImpl_FindDecl(IWineD3DVertexBufferImpl *T
if
(
strided
.
u
.
s
.
position2
.
VBO
!=
This
->
vbo
)
memset
(
&
strided
.
u
.
s
.
position2
,
0
,
sizeof
(
strided
.
u
.
s
.
position2
));
}
/* Filter out data that does not come from this VBO */
if
(
strided
.
u
.
s
.
position
.
VBO
!=
This
->
vbo
)
memset
(
&
strided
.
u
.
s
.
position
,
0
,
sizeof
(
strided
.
u
.
s
.
position
));
if
(
strided
.
u
.
s
.
diffuse
.
VBO
!=
This
->
vbo
)
memset
(
&
strided
.
u
.
s
.
diffuse
,
0
,
sizeof
(
strided
.
u
.
s
.
diffuse
));
if
(
strided
.
u
.
s
.
specular
.
VBO
!=
This
->
vbo
)
memset
(
&
strided
.
u
.
s
.
specular
,
0
,
sizeof
(
strided
.
u
.
s
.
specular
));
if
(
strided
.
u
.
s
.
position2
.
VBO
!=
This
->
vbo
)
memset
(
&
strided
.
u
.
s
.
position2
,
0
,
sizeof
(
strided
.
u
.
s
.
position2
));
/* We have a declaration now in the buffer */
This
->
Flags
|=
VBFLAG_HASDESC
;
...
...
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