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
74b5da9a
Commit
74b5da9a
authored
Aug 31, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Aug 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Fix compilation on systems that don't support nameless unions.
parent
6cfce78c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
17 deletions
+19
-17
mesh.c
dlls/d3dx9_36/mesh.c
+19
-17
No files found.
dlls/d3dx9_36/mesh.c
View file @
74b5da9a
...
...
@@ -20,10 +20,12 @@
#include "config.h"
#include "wine/port.h"
#include "wine/debug.h"
#define NONAMELESSUNION
#include "windef.h"
#include "wingdi.h"
#include "d3dx9.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3dx
);
...
...
@@ -260,22 +262,22 @@ BOOL WINAPI D3DXIntersectTri(CONST D3DXVECTOR3 *p0, CONST D3DXVECTOR3 *p1, CONST
D3DXMATRIX
m
;
D3DXVECTOR4
vec
;
m
.
m
[
0
][
0
]
=
p1
->
x
-
p0
->
x
;
m
.
m
[
1
][
0
]
=
p2
->
x
-
p0
->
x
;
m
.
m
[
2
][
0
]
=
-
praydir
->
x
;
m
.
m
[
3
][
0
]
=
0
.
0
f
;
m
.
m
[
0
][
1
]
=
p1
->
y
-
p0
->
z
;
m
.
m
[
1
][
1
]
=
p2
->
y
-
p0
->
z
;
m
.
m
[
2
][
1
]
=
-
praydir
->
y
;
m
.
m
[
3
][
1
]
=
0
.
0
f
;
m
.
m
[
0
][
2
]
=
p1
->
z
-
p0
->
z
;
m
.
m
[
1
][
2
]
=
p2
->
z
-
p0
->
z
;
m
.
m
[
2
][
2
]
=
-
praydir
->
z
;
m
.
m
[
3
][
2
]
=
0
.
0
f
;
m
.
m
[
0
][
3
]
=
0
.
0
f
;
m
.
m
[
1
][
3
]
=
0
.
0
f
;
m
.
m
[
2
][
3
]
=
0
.
0
f
;
m
.
m
[
3
][
3
]
=
1
.
0
f
;
m
.
u
.
m
[
0
][
0
]
=
p1
->
x
-
p0
->
x
;
m
.
u
.
m
[
1
][
0
]
=
p2
->
x
-
p0
->
x
;
m
.
u
.
m
[
2
][
0
]
=
-
praydir
->
x
;
m
.
u
.
m
[
3
][
0
]
=
0
.
0
f
;
m
.
u
.
m
[
0
][
1
]
=
p1
->
y
-
p0
->
z
;
m
.
u
.
m
[
1
][
1
]
=
p2
->
y
-
p0
->
z
;
m
.
u
.
m
[
2
][
1
]
=
-
praydir
->
y
;
m
.
u
.
m
[
3
][
1
]
=
0
.
0
f
;
m
.
u
.
m
[
0
][
2
]
=
p1
->
z
-
p0
->
z
;
m
.
u
.
m
[
1
][
2
]
=
p2
->
z
-
p0
->
z
;
m
.
u
.
m
[
2
][
2
]
=
-
praydir
->
z
;
m
.
u
.
m
[
3
][
2
]
=
0
.
0
f
;
m
.
u
.
m
[
0
][
3
]
=
0
.
0
f
;
m
.
u
.
m
[
1
][
3
]
=
0
.
0
f
;
m
.
u
.
m
[
2
][
3
]
=
0
.
0
f
;
m
.
u
.
m
[
3
][
3
]
=
1
.
0
f
;
vec
.
x
=
praypos
->
x
-
p0
->
x
;
vec
.
y
=
praypos
->
y
-
p0
->
y
;
...
...
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