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
590bca84
Commit
590bca84
authored
Jan 04, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 04, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Declare some functions static.
parent
c8df290e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
directx.c
dlls/d3d9/directx.c
+7
-6
No files found.
dlls/d3d9/directx.c
View file @
590bca84
...
@@ -213,9 +213,9 @@ ULONG WINAPI D3D9CB_DestroyRenderTarget(IWineD3DSurface *pSurface) {
...
@@ -213,9 +213,9 @@ ULONG WINAPI D3D9CB_DestroyRenderTarget(IWineD3DSurface *pSurface) {
return
IDirect3DSurface9_Release
((
IDirect3DSurface9
*
)
surfaceParent
);
return
IDirect3DSurface9_Release
((
IDirect3DSurface9
*
)
surfaceParent
);
}
}
HRESULT
WINAPI
D3D9CB_CreateAdditionalSwapChain
(
IUnknown
*
device
,
static
HRESULT
WINAPI
D3D9CB_CreateAdditionalSwapChain
(
IUnknown
*
device
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
WINED3DPRESENT_PARAMETERS
*
pPresentationParameters
,
IWineD3DSwapChain
**
ppSwapChain
)
{
IWineD3DSwapChain
**
ppSwapChain
)
{
HRESULT
res
=
D3D_OK
;
HRESULT
res
=
D3D_OK
;
IDirect3DSwapChain9Impl
*
d3dSwapChain
=
NULL
;
IDirect3DSwapChain9Impl
*
d3dSwapChain
=
NULL
;
D3DPRESENT_PARAMETERS
localParameters
;
D3DPRESENT_PARAMETERS
localParameters
;
...
@@ -308,9 +308,10 @@ ULONG WINAPI D3D9CB_DestroyDepthStencilSurface(IWineD3DSurface *pSurface) {
...
@@ -308,9 +308,10 @@ ULONG WINAPI D3D9CB_DestroyDepthStencilSurface(IWineD3DSurface *pSurface) {
return
IDirect3DSurface9_Release
((
IDirect3DSurface9
*
)
surfaceParent
);
return
IDirect3DSurface9_Release
((
IDirect3DSurface9
*
)
surfaceParent
);
}
}
HRESULT
WINAPI
IDirect3D9Impl_CreateDevice
(
LPDIRECT3D9
iface
,
UINT
Adapter
,
D3DDEVTYPE
DeviceType
,
HWND
hFocusWindow
,
static
HRESULT
WINAPI
IDirect3D9Impl_CreateDevice
(
LPDIRECT3D9
iface
,
UINT
Adapter
,
D3DDEVTYPE
DeviceType
,
DWORD
BehaviourFlags
,
D3DPRESENT_PARAMETERS
*
pPresentationParameters
,
HWND
hFocusWindow
,
DWORD
BehaviourFlags
,
IDirect3DDevice9
**
ppReturnedDeviceInterface
)
{
D3DPRESENT_PARAMETERS
*
pPresentationParameters
,
IDirect3DDevice9
**
ppReturnedDeviceInterface
)
{
IDirect3D9Impl
*
This
=
(
IDirect3D9Impl
*
)
iface
;
IDirect3D9Impl
*
This
=
(
IDirect3D9Impl
*
)
iface
;
IDirect3DDevice9Impl
*
object
=
NULL
;
IDirect3DDevice9Impl
*
object
=
NULL
;
...
...
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