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
c92d7aff
Commit
c92d7aff
authored
Apr 28, 2015
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d2d1: Do not flip/mirror the rectangle in d2d_d3d_render_target_FillRectangle().
parent
2501ec7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
render_target.c
dlls/d2d1/render_target.c
+4
-4
No files found.
dlls/d2d1/render_target.c
View file @
c92d7aff
...
@@ -580,12 +580,12 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_FillRectangle(ID2D1RenderTar
...
@@ -580,12 +580,12 @@ static void STDMETHODCALLTYPE d2d_d3d_render_target_FillRectangle(ID2D1RenderTar
transform
.
pad1
=
0
.
0
f
;
transform
.
pad1
=
0
.
0
f
;
/* Translate from world space to object space. */
/* Translate from world space to object space. */
tmp_x
=
rect
->
left
+
(
rect
->
right
-
rect
->
left
)
/
2
.
0
f
;
tmp_x
=
min
(
rect
->
left
,
rect
->
right
)
+
fabsf
(
rect
->
right
-
rect
->
left
)
/
2
.
0
f
;
tmp_y
=
rect
->
top
+
(
rect
->
bottom
-
rect
->
top
)
/
2
.
0
f
;
tmp_y
=
min
(
rect
->
top
,
rect
->
bottom
)
+
fabsf
(
rect
->
bottom
-
rect
->
top
)
/
2
.
0
f
;
transform
.
_31
+=
tmp_x
*
transform
.
_11
+
tmp_y
*
transform
.
_21
;
transform
.
_31
+=
tmp_x
*
transform
.
_11
+
tmp_y
*
transform
.
_21
;
transform
.
_32
+=
tmp_x
*
transform
.
_12
+
tmp_y
*
transform
.
_22
;
transform
.
_32
+=
tmp_x
*
transform
.
_12
+
tmp_y
*
transform
.
_22
;
tmp_x
=
(
rect
->
right
-
rect
->
left
)
/
2
.
0
f
;
tmp_x
=
fabsf
(
rect
->
right
-
rect
->
left
)
/
2
.
0
f
;
tmp_y
=
(
rect
->
bottom
-
rect
->
top
)
/
2
.
0
f
;
tmp_y
=
fabsf
(
rect
->
bottom
-
rect
->
top
)
/
2
.
0
f
;
transform
.
_11
*=
tmp_x
;
transform
.
_11
*=
tmp_x
;
transform
.
_12
*=
tmp_x
;
transform
.
_12
*=
tmp_x
;
transform
.
_21
*=
tmp_y
;
transform
.
_21
*=
tmp_y
;
...
...
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