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
02758ea8
Commit
02758ea8
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_RotateAxis to make tests pass in Windows.
parent
0729e91e
Hide 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 @
02758ea8
...
...
@@ -933,7 +933,6 @@ static HRESULT WINAPI ID3DXMatrixStackImpl_RotateAxis(ID3DXMatrixStack *iface, C
TRACE
(
"iface %p
\n
"
,
iface
);
if
(
!
pv
)
return
D3DERR_INVALIDCALL
;
D3DXMatrixRotationAxis
(
&
temp
,
pv
,
angle
);
D3DXMatrixMultiply
(
&
This
->
stack
[
This
->
current
],
&
This
->
stack
[
This
->
current
],
&
temp
);
...
...
dlls/d3dx9_36/tests/math.c
View file @
02758ea8
...
...
@@ -1519,9 +1519,6 @@ static void test_matrix_stack(void)
ok
(
SUCCEEDED
(
hr
),
"Pop failed, hr %#x
\n
"
,
hr
);
ok
(
D3DXMatrixIsIdentity
(
ID3DXMatrixStack_GetTop
(
stack
)),
"The top should be an identity matrix
\n
"
);
hr
=
ID3DXMatrixStack_RotateAxis
(
stack
,
NULL
,
2
.
0
f
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Expected D3DERR_INVALIDCALL, got %#x
\n
"
,
hr
);
hr
=
ID3DXMatrixStack_RotateAxisLocal
(
stack
,
NULL
,
2
.
0
f
);
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