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
e0525b66
Commit
e0525b66
authored
Nov 17, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Move D3D8CB_DestroySwapChain() to device.c.
parent
fea46645
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
d3d8_private.h
dlls/d3d8/d3d8_private.h
+0
-3
device.c
dlls/d3d8/device.c
+11
-0
directx.c
dlls/d3d8/directx.c
+0
-10
No files found.
dlls/d3d8/d3d8_private.h
View file @
e0525b66
...
...
@@ -622,7 +622,4 @@ UINT convert_to_wined3d_declaration(const DWORD *d3d8_elements, DWORD *d3d8_elem
WINED3DVERTEXELEMENT
**
wined3d_elements
)
DECLSPEC_HIDDEN
;
size_t
parse_token
(
const
DWORD
*
pToken
)
DECLSPEC_HIDDEN
;
/* Callbacks */
extern
ULONG
WINAPI
D3D8CB_DestroySwapChain
(
IWineD3DSwapChain
*
pSwapChain
)
DECLSPEC_HIDDEN
;
#endif
/* __WINE_D3DX8_PRIVATE_H */
dlls/d3d8/device.c
View file @
e0525b66
...
...
@@ -253,6 +253,17 @@ static void *d3d8_get_object(struct d3d8_handle_table *t, DWORD handle, enum d3d
return
entry
->
object
;
}
static
ULONG
WINAPI
D3D8CB_DestroySwapChain
(
IWineD3DSwapChain
*
swapchain
)
{
IUnknown
*
parent
;
TRACE
(
"swapchain %p.
\n
"
,
swapchain
);
IWineD3DSwapChain_GetParent
(
swapchain
,
&
parent
);
IUnknown_Release
(
parent
);
return
IUnknown_Release
(
parent
);
}
/* IDirect3D IUnknown parts follow: */
static
HRESULT
WINAPI
IDirect3DDevice8Impl_QueryInterface
(
LPDIRECT3DDEVICE8
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
...
...
dlls/d3d8/directx.c
View file @
e0525b66
...
...
@@ -331,16 +331,6 @@ static HMONITOR WINAPI IDirect3D8Impl_GetAdapterMonitor(LPDIRECT3D8 iface, UINT
return
ret
;
}
ULONG
WINAPI
D3D8CB_DestroySwapChain
(
IWineD3DSwapChain
*
pSwapChain
)
{
IUnknown
*
swapChainParent
;
TRACE
(
"swapchain %p.
\n
"
,
pSwapChain
);
IWineD3DSwapChain_GetParent
(
pSwapChain
,
&
swapChainParent
);
IUnknown_Release
(
swapChainParent
);
return
IUnknown_Release
(
swapChainParent
);
}
static
HRESULT
WINAPI
IDirect3D8Impl_CreateDevice
(
IDirect3D8
*
iface
,
UINT
adapter
,
D3DDEVTYPE
device_type
,
HWND
focus_window
,
DWORD
flags
,
D3DPRESENT_PARAMETERS
*
parameters
,
IDirect3DDevice8
**
device
)
{
...
...
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