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
b1cc8bec
Commit
b1cc8bec
authored
Jan 02, 2007
by
Christoph Bumiller
Committed by
Alexandre Julliard
Jan 03, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Fix the AddViewport thunk.
parent
7a5d5c55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/ddraw/device.c
+3
-3
No files found.
dlls/ddraw/device.c
View file @
b1cc8bec
...
...
@@ -808,7 +808,7 @@ static HRESULT WINAPI
Thunk_IDirect3DDeviceImpl_1_AddViewport
(
IDirect3DDevice
*
iface
,
IDirect3DViewport
*
Direct3DViewport
)
{
ICOM_THIS_FROM
(
IDirect3DDeviceImpl
,
IDirect3DDevice
2
,
iface
);
ICOM_THIS_FROM
(
IDirect3DDeviceImpl
,
IDirect3DDevice
,
iface
);
IDirect3DViewportImpl
*
vp
=
ICOM_OBJECT
(
IDirect3DViewportImpl
,
IDirect3DViewport3
,
Direct3DViewport
);
TRACE_
(
ddraw_thunk
)(
"(%p)->(%p) thunking to IDirect3DDevice3 interface.
\n
"
,
This
,
vp
);
return
IDirect3DDevice3_AddViewport
(
ICOM_INTERFACE
(
This
,
IDirect3DDevice3
),
...
...
@@ -871,10 +871,10 @@ Thunk_IDirect3DDeviceImpl_2_DeleteViewport(IDirect3DDevice2 *iface,
static
HRESULT
WINAPI
Thunk_IDirect3DDeviceImpl_1_DeleteViewport
(
IDirect3DDevice
*
iface
,
IDirect3DViewport
*
Direct3DViewport
2
)
IDirect3DViewport
*
Direct3DViewport
)
{
ICOM_THIS_FROM
(
IDirect3DDeviceImpl
,
IDirect3DDevice
,
iface
);
IDirect3DViewportImpl
*
vp
=
ICOM_OBJECT
(
IDirect3DViewportImpl
,
IDirect3DViewport3
,
Direct3DViewport
2
);
IDirect3DViewportImpl
*
vp
=
ICOM_OBJECT
(
IDirect3DViewportImpl
,
IDirect3DViewport3
,
Direct3DViewport
);
TRACE_
(
ddraw_thunk
)(
"(%p)->(%p) thunking to IDirect3DDevice3 interface.
\n
"
,
This
,
vp
);
return
IDirect3DDevice3_DeleteViewport
(
ICOM_INTERFACE
(
This
,
IDirect3DDevice3
),
ICOM_INTERFACE
(
vp
,
IDirect3DViewport3
));
...
...
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