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
6bd6193c
Commit
6bd6193c
authored
Jan 13, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Make emsquare an unsigned int in create_outline.
parent
4ca8f710
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mesh.c
dlls/d3dx9_36/mesh.c
+3
-2
No files found.
dlls/d3dx9_36/mesh.c
View file @
6bd6193c
...
...
@@ -5128,7 +5128,7 @@ static HRESULT add_vertex_index(struct word_array *array, WORD vertex_index)
C_ASSERT
(
sizeof
(
FIXED
)
==
sizeof
(
float
));
C_ASSERT
(
sizeof
(
POINTFX
)
==
sizeof
(
D3DXVECTOR2
));
static
inline
D3DXVECTOR2
*
convert_fixed_to_float
(
POINTFX
*
pt
,
int
count
,
floa
t
emsquare
)
static
inline
D3DXVECTOR2
*
convert_fixed_to_float
(
POINTFX
*
pt
,
int
count
,
unsigned
in
t
emsquare
)
{
D3DXVECTOR2
*
ret
=
(
D3DXVECTOR2
*
)
pt
;
while
(
count
--
)
{
...
...
@@ -5233,7 +5233,8 @@ static BOOL attempt_line_merge(struct outline *outline,
}
static
HRESULT
create_outline
(
struct
glyphinfo
*
glyph
,
void
*
raw_outline
,
int
datasize
,
float
max_deviation_sq
,
float
emsquare
,
const
struct
cos_table
*
cos_table
)
float
max_deviation_sq
,
unsigned
int
emsquare
,
const
struct
cos_table
*
cos_table
)
{
TTPOLYGONHEADER
*
header
=
(
TTPOLYGONHEADER
*
)
raw_outline
;
...
...
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