Andrew Talbot : d3d9: Declare some functions static.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jan 4 15:09:26 CST 2007
Module: wine
Branch: master
Commit: 590bca8425f8a7238100fac15eea4c333ab77305
URL: http://source.winehq.org/git/wine.git/?a=commit;h=590bca8425f8a7238100fac15eea4c333ab77305
Author: Andrew Talbot <Andrew.Talbot at talbotville.com>
Date: Thu Jan 4 17:01:21 2007 +0000
d3d9: Declare some functions static.
---
dlls/d3d9/directx.c | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/dlls/d3d9/directx.c b/dlls/d3d9/directx.c
index f49c11c..f360b4e 100644
--- a/dlls/d3d9/directx.c
+++ b/dlls/d3d9/directx.c
@@ -213,9 +213,9 @@ ULONG WINAPI D3D9CB_DestroyRenderTarget(
return IDirect3DSurface9_Release((IDirect3DSurface9*) surfaceParent);
}
-HRESULT WINAPI D3D9CB_CreateAdditionalSwapChain(IUnknown *device,
- WINED3DPRESENT_PARAMETERS* pPresentationParameters,
- IWineD3DSwapChain ** ppSwapChain) {
+static HRESULT WINAPI D3D9CB_CreateAdditionalSwapChain(IUnknown *device,
+ WINED3DPRESENT_PARAMETERS* pPresentationParameters,
+ IWineD3DSwapChain ** ppSwapChain) {
HRESULT res = D3D_OK;
IDirect3DSwapChain9Impl *d3dSwapChain = NULL;
D3DPRESENT_PARAMETERS localParameters;
@@ -308,9 +308,10 @@ ULONG WINAPI D3D9CB_DestroyDepthStencilS
return IDirect3DSurface9_Release((IDirect3DSurface9*) surfaceParent);
}
-HRESULT WINAPI IDirect3D9Impl_CreateDevice(LPDIRECT3D9 iface, UINT Adapter, D3DDEVTYPE DeviceType, HWND hFocusWindow,
- DWORD BehaviourFlags, D3DPRESENT_PARAMETERS* pPresentationParameters,
- IDirect3DDevice9** ppReturnedDeviceInterface) {
+static HRESULT WINAPI IDirect3D9Impl_CreateDevice(LPDIRECT3D9 iface, UINT Adapter, D3DDEVTYPE DeviceType,
+ HWND hFocusWindow, DWORD BehaviourFlags,
+ D3DPRESENT_PARAMETERS* pPresentationParameters,
+ IDirect3DDevice9** ppReturnedDeviceInterface) {
IDirect3D9Impl *This = (IDirect3D9Impl *)iface;
IDirect3DDevice9Impl *object = NULL;
More information about the wine-cvs
mailing list