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
4734771f
Commit
4734771f
authored
Jan 01, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Make NUM_ELEM a define.
parent
dcb10166
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
mesh.c
dlls/d3dx9_36/mesh.c
+4
-2
No files found.
dlls/d3dx9_36/mesh.c
View file @
4734771f
...
...
@@ -6393,7 +6393,7 @@ static BOOL weld_float16_2(void *to, void *from, FLOAT epsilon)
FLOAT
diff_x
;
FLOAT
diff_y
;
FLOAT
max_abs_diff
;
const
UINT
NUM_ELEM
=
2
;
#define NUM_ELEM 2
FLOAT
v1
[
NUM_ELEM
];
FLOAT
v2
[
NUM_ELEM
];
...
...
@@ -6412,6 +6412,7 @@ static BOOL weld_float16_2(void *to, void *from, FLOAT epsilon)
}
return
FALSE
;
#undef NUM_ELEM
}
static
BOOL
weld_float16_4
(
void
*
to
,
void
*
from
,
FLOAT
epsilon
)
...
...
@@ -6423,7 +6424,7 @@ static BOOL weld_float16_4(void *to, void *from, FLOAT epsilon)
FLOAT
diff_z
;
FLOAT
diff_w
;
FLOAT
max_abs_diff
;
const
UINT
NUM_ELEM
=
4
;
#define NUM_ELEM 4
FLOAT
v1
[
NUM_ELEM
];
FLOAT
v2
[
NUM_ELEM
];
...
...
@@ -6446,6 +6447,7 @@ static BOOL weld_float16_4(void *to, void *from, FLOAT epsilon)
}
return
FALSE
;
#undef NUM_ELEM
}
/* Sets the vertex components to the same value if they are within epsilon. */
...
...
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