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
531c4878
Commit
531c4878
authored
Feb 11, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Feb 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: ProcessVertices correction.
Use the texture index to get the texcoord size from the fvf, not the vertex index.
parent
368dab37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vertexbuffer.c
dlls/ddraw/vertexbuffer.c
+1
-1
No files found.
dlls/ddraw/vertexbuffer.c
View file @
531c4878
...
...
@@ -360,7 +360,7 @@ process_vertices_strided(IDirect3DVertexBufferImpl *This,
D3DVALUE
*
tex_coord
=
(
D3DVALUE
*
)
(((
char
*
)
lpStrideData
->
textureCoords
[
tex_index
].
lpvData
)
+
i
*
lpStrideData
->
textureCoords
[
tex_index
].
dwStride
);
copy_and_next
(
dest_ptr
,
tex_coord
,
GET_TEXCOORD_SIZE_FROM_FVF
(
dwVertexTypeDesc
,
i
)
*
sizeof
(
D3DVALUE
));
copy_and_next
(
dest_ptr
,
tex_coord
,
GET_TEXCOORD_SIZE_FROM_FVF
(
dwVertexTypeDesc
,
tex_index
)
*
sizeof
(
D3DVALUE
));
}
if
(
TRACE_ON
(
ddraw_geom
))
{
...
...
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