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
882716e7
Commit
882716e7
authored
Jun 14, 2009
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Use correct union member.
parent
387f24f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
executebuffer.c
dlls/ddraw/executebuffer.c
+4
-4
No files found.
dlls/ddraw/executebuffer.c
View file @
882716e7
...
...
@@ -227,14 +227,14 @@ IDirect3DExecuteBufferImpl_Execute(IDirect3DExecuteBufferImpl *This,
}
else
if
(
lpDevice
->
Handles
[
ci
->
u2
.
dwArg
[
0
]
-
1
].
type
!=
DDrawHandle_Matrix
)
{
ERR
(
"Handle %d is not a matrix handle
\n
"
,
ci
->
u2
.
dwArg
[
0
]);
}
else
{
if
(
ci
->
u1
.
d
rstRender
StateType
==
D3DTRANSFORMSTATE_WORLD
)
if
(
ci
->
u1
.
d
tstTransform
StateType
==
D3DTRANSFORMSTATE_WORLD
)
lpDevice
->
world
=
ci
->
u2
.
dwArg
[
0
];
if
(
ci
->
u1
.
d
rstRender
StateType
==
D3DTRANSFORMSTATE_VIEW
)
if
(
ci
->
u1
.
d
tstTransform
StateType
==
D3DTRANSFORMSTATE_VIEW
)
lpDevice
->
view
=
ci
->
u2
.
dwArg
[
0
];
if
(
ci
->
u1
.
d
rstRender
StateType
==
D3DTRANSFORMSTATE_PROJECTION
)
if
(
ci
->
u1
.
d
tstTransform
StateType
==
D3DTRANSFORMSTATE_PROJECTION
)
lpDevice
->
proj
=
ci
->
u2
.
dwArg
[
0
];
IDirect3DDevice7_SetTransform
((
IDirect3DDevice7
*
)
lpDevice
,
ci
->
u1
.
d
rstRender
StateType
,
(
LPD3DMATRIX
)
lpDevice
->
Handles
[
ci
->
u2
.
dwArg
[
0
]
-
1
].
ptr
);
ci
->
u1
.
d
tstTransform
StateType
,
(
LPD3DMATRIX
)
lpDevice
->
Handles
[
ci
->
u2
.
dwArg
[
0
]
-
1
].
ptr
);
}
instr
+=
size
;
}
...
...
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