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
f144626e
Commit
f144626e
authored
Mar 21, 2012
by
Michael Mc Donnell
Committed by
Alexandre Julliard
Mar 28, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Do not weld self.
parent
9f0119a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
mesh.c
dlls/d3dx9_36/mesh.c
+7
-0
No files found.
dlls/d3dx9_36/mesh.c
View file @
f144626e
...
@@ -6640,6 +6640,13 @@ HRESULT WINAPI D3DXWeldVertices(LPD3DXMESH mesh,
...
@@ -6640,6 +6640,13 @@ HRESULT WINAPI D3DXWeldVertices(LPD3DXMESH mesh,
BYTE
*
from
=
&
vertices
[
vertex_size
*
point_reps
[
index
]
+
decl_ptr
->
Offset
];
BYTE
*
from
=
&
vertices
[
vertex_size
*
point_reps
[
index
]
+
decl_ptr
->
Offset
];
FLOAT
epsilon
=
get_component_epsilon
(
decl_ptr
,
epsilons
);
FLOAT
epsilon
=
get_component_epsilon
(
decl_ptr
,
epsilons
);
/* Don't weld self */
if
(
index
==
point_reps
[
index
])
{
matches
++
;
continue
;
}
if
(
weld_component
(
to
,
from
,
decl_ptr
->
Type
,
epsilon
))
if
(
weld_component
(
to
,
from
,
decl_ptr
->
Type
,
epsilon
))
matches
++
;
matches
++
;
}
}
...
...
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