d3d9: Declare some functions static
Andrew Talbot
Andrew.Talbot at talbotville.com
Thu Jan 4 11:01:21 CST 2007
Changelog:
d3d9: Declare some functions static.
diff -urN a/dlls/d3d9/directx.c b/dlls/d3d9/directx.c
--- a/dlls/d3d9/directx.c 2006-12-20 19:47:14.000000000 +0000
+++ b/dlls/d3d9/directx.c 2007-01-04 12:35:08.000000000 +0000
@@ -213,9 +213,9 @@
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 @@
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-patches
mailing list