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
3a1e2a30
Commit
3a1e2a30
authored
Jul 13, 2008
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Make GdipInvertMatrix test pass on native switching to matrix with determinant 16.
parent
a53b9b95
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
matrix.c
dlls/gdiplus/tests/matrix.c
+3
-4
No files found.
dlls/gdiplus/tests/matrix.c
View file @
3a1e2a30
...
...
@@ -124,7 +124,7 @@ static void test_invert(void)
GpStatus
status
;
GpMatrix
*
matrix
=
NULL
;
GpMatrix
*
inverted
=
NULL
;
BOOL
equal
;
BOOL
equal
=
FALSE
;
/* NULL */
status
=
GdipInvertMatrix
(
NULL
);
...
...
@@ -137,11 +137,10 @@ static void test_invert(void)
GdipDeleteMatrix
(
matrix
);
/* invertible */
GdipCreateMatrix2
(
1
.
0
,
2
.
0
,
4
.
0
,
-
1
.
0
,
6
.
0
,
3
.
0
,
&
matrix
);
GdipCreateMatrix2
(
3
.
0
,
-
2
.
0
,
5
.
0
,
2
.
0
,
6
.
0
,
3
.
0
,
&
matrix
);
status
=
GdipInvertMatrix
(
matrix
);
expect
(
Ok
,
status
);
GdipCreateMatrix2
(
1
.
0
/
9
.
0
,
2
.
0
/
9
.
0
,
4
.
0
/
9
.
0
,
-
1
.
0
/
9
.
0
,
-
2
.
0
,
-
1
.
0
,
&
inverted
);
GdipCreateMatrix2
(
2
.
0
/
16
.
0
,
2
.
0
/
16
.
0
,
-
5
.
0
/
16
.
0
,
3
.
0
/
16
.
0
,
3
.
0
/
16
.
0
,
-
21
.
0
/
16
.
0
,
&
inverted
);
GdipIsMatrixEqual
(
matrix
,
inverted
,
&
equal
);
expect
(
TRUE
,
equal
);
...
...
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