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
f87745d4
Commit
f87745d4
authored
Jul 23, 2011
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Fix compilation on systems that don't support nameless unions.
parent
39b02829
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
effect.c
dlls/d3dx9_36/effect.c
+4
-2
No files found.
dlls/d3dx9_36/effect.c
View file @
f87745d4
...
...
@@ -18,8 +18,10 @@
#include "config.h"
#include "wine/port.h"
#define NONAMELESSUNION
#include "wine/debug.h"
#include "wine/unicode.h"
#include "windef.h"
#include "wingdi.h"
#include "d3dx9_36_private.h"
...
...
@@ -897,9 +899,9 @@ static void get_matrix(struct d3dx_parameter *param, D3DXMATRIX *matrix)
for
(
k
=
0
;
k
<
4
;
++
k
)
{
if
((
i
<
param
->
rows
)
&&
(
k
<
param
->
columns
))
matrix
->
m
[
i
][
k
]
=
get_float
(
param
->
type
,
(
float
*
)
param
->
data
+
i
*
param
->
columns
+
k
);
matrix
->
u
.
m
[
i
][
k
]
=
get_float
(
param
->
type
,
(
float
*
)
param
->
data
+
i
*
param
->
columns
+
k
);
else
matrix
->
m
[
i
][
k
]
=
0
.
0
f
;
matrix
->
u
.
m
[
i
][
k
]
=
0
.
0
f
;
}
}
}
...
...
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