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
08b569d5
Commit
08b569d5
authored
Aug 22, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Make qsort() callback functions cdecl.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3feed5a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mesh.c
dlls/d3dx9_36/mesh.c
+3
-3
preshader.c
dlls/d3dx9_36/preshader.c
+1
-1
No files found.
dlls/d3dx9_36/mesh.c
View file @
08b569d5
...
...
@@ -1207,7 +1207,7 @@ struct vertex_metadata {
DWORD
first_shared_index
;
};
static
int
compare_vertex_keys
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
compare_vertex_keys
(
const
void
*
a
,
const
void
*
b
)
{
const
struct
vertex_metadata
*
left
=
a
;
const
struct
vertex_metadata
*
right
=
b
;
...
...
@@ -1585,7 +1585,7 @@ static void fill_attribute_table(DWORD *attrib_buffer, DWORD numfaces, void *ind
attrib_table_size
++
;
}
static
int
attrib_entry_compare
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
attrib_entry_compare
(
const
void
*
a
,
const
void
*
b
)
{
const
DWORD
*
ptr_a
=
*
(
const
DWORD
**
)
a
;
const
DWORD
*
ptr_b
=
*
(
const
DWORD
**
)
b
;
...
...
@@ -5840,7 +5840,7 @@ static D3DXVECTOR2 *triangulation_get_next_point(struct triangulation *t, struct
return
&
outline
->
items
[
i
].
pos
;
}
static
int
compare_vertex_indices
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
compare_vertex_indices
(
const
void
*
a
,
const
void
*
b
)
{
const
struct
point2d_index
*
idx1
=
a
,
*
idx2
=
b
;
const
D3DXVECTOR2
*
p1
=
&
idx1
->
outline
->
items
[
idx1
->
vertex
].
pos
;
...
...
dlls/d3dx9_36/preshader.c
View file @
08b569d5
...
...
@@ -640,7 +640,7 @@ static void append_pres_const_sets_for_shader_input(struct d3dx_const_tab *const
}
}
static
int
compare_const_set
(
const
void
*
a
,
const
void
*
b
)
static
int
__cdecl
compare_const_set
(
const
void
*
a
,
const
void
*
b
)
{
const
struct
d3dx_const_param_eval_output
*
r1
=
a
;
const
struct
d3dx_const_param_eval_output
*
r2
=
b
;
...
...
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