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
de852879
Commit
de852879
authored
Feb 15, 2013
by
Nozomi Kodama
Committed by
Alexandre Julliard
Feb 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Avoid useless computations.
parent
f9347a8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
math.c
dlls/d3dx9_36/math.c
+8
-2
No files found.
dlls/d3dx9_36/math.c
View file @
de852879
...
...
@@ -388,10 +388,16 @@ D3DXMATRIX* WINAPI D3DXMatrixMultiply(D3DXMATRIX *pout, const D3DXMATRIX *pm1, c
D3DXMATRIX
*
WINAPI
D3DXMatrixMultiplyTranspose
(
D3DXMATRIX
*
pout
,
const
D3DXMATRIX
*
pm1
,
const
D3DXMATRIX
*
pm2
)
{
D3DXMATRIX
temp
;
int
i
,
j
;
TRACE
(
"pout %p, pm1 %p, pm2 %p
\n
"
,
pout
,
pm1
,
pm2
);
D3DXMatrixMultiply
(
pout
,
pm1
,
pm2
);
D3DXMatrixTranspose
(
pout
,
pout
);
for
(
i
=
0
;
i
<
4
;
i
++
)
for
(
j
=
0
;
j
<
4
;
j
++
)
temp
.
u
.
m
[
j
][
i
]
=
pm1
->
u
.
m
[
i
][
0
]
*
pm2
->
u
.
m
[
0
][
j
]
+
pm1
->
u
.
m
[
i
][
1
]
*
pm2
->
u
.
m
[
1
][
j
]
+
pm1
->
u
.
m
[
i
][
2
]
*
pm2
->
u
.
m
[
2
][
j
]
+
pm1
->
u
.
m
[
i
][
3
]
*
pm2
->
u
.
m
[
3
][
j
];
*
pout
=
temp
;
return
pout
;
}
...
...
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