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
3b6cbaeb
Commit
3b6cbaeb
authored
Jul 17, 2009
by
David Adam
Committed by
Alexandre Julliard
Jul 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Fix D3DXMatrixStack_MultMatrix to make tests pass in Windows.
parent
c88860a2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
math.c
dlls/d3dx9_36/math.c
+0
-1
math.c
dlls/d3dx9_36/tests/math.c
+0
-3
No files found.
dlls/d3dx9_36/math.c
View file @
3b6cbaeb
...
@@ -855,7 +855,6 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrix(ID3DXMatrixStack *iface, C
...
@@ -855,7 +855,6 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_MultMatrix(ID3DXMatrixStack *iface, C
TRACE
(
"iface %p
\n
"
,
iface
);
TRACE
(
"iface %p
\n
"
,
iface
);
if
(
!
pm
)
return
D3DERR_INVALIDCALL
;
D3DXMatrixMultiply
(
&
This
->
stack
[
This
->
current
],
&
This
->
stack
[
This
->
current
],
pm
);
D3DXMatrixMultiply
(
&
This
->
stack
[
This
->
current
],
&
This
->
stack
[
This
->
current
],
pm
);
return
D3D_OK
;
return
D3D_OK
;
...
...
dlls/d3dx9_36/tests/math.c
View file @
3b6cbaeb
...
@@ -1519,9 +1519,6 @@ static void test_matrix_stack(void)
...
@@ -1519,9 +1519,6 @@ static void test_matrix_stack(void)
ok
(
SUCCEEDED
(
hr
),
"Pop failed, hr %#x
\n
"
,
hr
);
ok
(
SUCCEEDED
(
hr
),
"Pop failed, hr %#x
\n
"
,
hr
);
ok
(
D3DXMatrixIsIdentity
(
ID3DXMatrixStack_GetTop
(
stack
)),
"The top should be an identity matrix
\n
"
);
ok
(
D3DXMatrixIsIdentity
(
ID3DXMatrixStack_GetTop
(
stack
)),
"The top should be an identity matrix
\n
"
);
hr
=
ID3DXMatrixStack_MultMatrix
(
stack
,
NULL
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, got %#x
\n
"
,
hr
);
hr
=
ID3DXMatrixStack_MultMatrixLocal
(
stack
,
NULL
);
hr
=
ID3DXMatrixStack_MultMatrixLocal
(
stack
,
NULL
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, got %#x
\n
"
,
hr
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, got %#x
\n
"
,
hr
);
...
...
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