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
3bc442dc
Commit
3bc442dc
authored
Oct 26, 2006
by
Andrey Turkin
Committed by
Alexandre Julliard
Oct 26, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Add missing dereference operators.
parent
2074a231
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 @
3bc442dc
...
...
@@ -1693,7 +1693,7 @@ Thunk_IDirect3DDeviceImpl_2_GetCurrentViewport(IDirect3DDevice2 *iface,
hr
=
IDirect3DDevice3_GetCurrentViewport
(
ICOM_INTERFACE
(
This
,
IDirect3DDevice3
),
(
IDirect3DViewport3
**
)
Direct3DViewport2
);
if
(
hr
!=
D3D_OK
)
return
hr
;
*
Direct3DViewport2
=
(
IDirect3DViewport2
*
)
COM_INTERFACE_CAST
(
IDirect3DViewportImpl
,
IDirect3DViewport3
,
IDirect3DViewport3
,
Direct3DViewport2
);
*
Direct3DViewport2
=
(
IDirect3DViewport2
*
)
COM_INTERFACE_CAST
(
IDirect3DViewportImpl
,
IDirect3DViewport3
,
IDirect3DViewport3
,
*
Direct3DViewport2
);
return
D3D_OK
;
}
...
...
@@ -1800,7 +1800,7 @@ Thunk_IDirect3DDeviceImpl_3_GetRenderTarget(IDirect3DDevice3 *iface,
hr
=
IDirect3DDevice7_GetRenderTarget
(
ICOM_INTERFACE
(
This
,
IDirect3DDevice7
),
(
IDirectDrawSurface7
**
)
RenderTarget
);
if
(
hr
!=
D3D_OK
)
return
hr
;
*
RenderTarget
=
(
IDirectDrawSurface4
*
)
COM_INTERFACE_CAST
(
IDirectDrawSurfaceImpl
,
IDirectDrawSurface7
,
IDirectDrawSurface7
,
RenderTarget
);
*
RenderTarget
=
(
IDirectDrawSurface4
*
)
COM_INTERFACE_CAST
(
IDirectDrawSurfaceImpl
,
IDirectDrawSurface7
,
IDirectDrawSurface7
,
*
RenderTarget
);
return
D3D_OK
;
}
...
...
@@ -1814,7 +1814,7 @@ Thunk_IDirect3DDeviceImpl_2_GetRenderTarget(IDirect3DDevice2 *iface,
hr
=
IDirect3DDevice7_GetRenderTarget
(
ICOM_INTERFACE
(
This
,
IDirect3DDevice7
),
(
IDirectDrawSurface7
**
)
RenderTarget
);
if
(
hr
!=
D3D_OK
)
return
hr
;
*
RenderTarget
=
(
IDirectDrawSurface
*
)
COM_INTERFACE_CAST
(
IDirectDrawSurfaceImpl
,
IDirectDrawSurface7
,
IDirectDrawSurface3
,
RenderTarget
);
*
RenderTarget
=
(
IDirectDrawSurface
*
)
COM_INTERFACE_CAST
(
IDirectDrawSurfaceImpl
,
IDirectDrawSurface7
,
IDirectDrawSurface3
,
*
RenderTarget
);
return
D3D_OK
;
}
...
...
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