d3d8: Make D3D8CB_CreateSurface() static.
This commit is contained in:
parent
3154768a94
commit
ec7cbc26f5
|
@ -638,11 +638,6 @@ UINT convert_to_wined3d_declaration(const DWORD *d3d8_elements, DWORD *d3d8_elem
|
||||||
size_t parse_token(const DWORD* pToken);
|
size_t parse_token(const DWORD* pToken);
|
||||||
|
|
||||||
/* Callbacks */
|
/* Callbacks */
|
||||||
extern HRESULT WINAPI D3D8CB_CreateSurface(IUnknown *device, IUnknown *pSuperior, UINT Width, UINT Height,
|
|
||||||
WINED3DFORMAT Format, DWORD Usage, WINED3DPOOL Pool, UINT Level,
|
|
||||||
WINED3DCUBEMAP_FACES Face, IWineD3DSurface** ppSurface,
|
|
||||||
HANDLE* pSharedHandle);
|
|
||||||
|
|
||||||
extern HRESULT WINAPI D3D8CB_CreateVolume(IUnknown *pDevice, IUnknown *pSuperior, UINT Width, UINT Height, UINT Depth,
|
extern HRESULT WINAPI D3D8CB_CreateVolume(IUnknown *pDevice, IUnknown *pSuperior, UINT Width, UINT Height, UINT Depth,
|
||||||
WINED3DFORMAT Format, WINED3DPOOL Pool, DWORD Usage,
|
WINED3DFORMAT Format, WINED3DPOOL Pool, DWORD Usage,
|
||||||
IWineD3DVolume **ppVolume,
|
IWineD3DVolume **ppVolume,
|
||||||
|
|
|
@ -36,6 +36,9 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(d3d8);
|
WINE_DEFAULT_DEBUG_CHANNEL(d3d8);
|
||||||
|
|
||||||
|
static HRESULT WINAPI D3D8CB_CreateSurface(IUnknown*,IUnknown*,UINT,UINT,WINED3DFORMAT,DWORD,WINED3DPOOL,UINT,WINED3DCUBEMAP_FACES,IWineD3DSurface**,HANDLE*);
|
||||||
|
|
||||||
|
|
||||||
/* Shader handle functions */
|
/* Shader handle functions */
|
||||||
static shader_handle *alloc_shader_handle(IDirect3DDevice8Impl *This) {
|
static shader_handle *alloc_shader_handle(IDirect3DDevice8Impl *This) {
|
||||||
if (This->free_shader_handles) {
|
if (This->free_shader_handles) {
|
||||||
|
@ -2207,7 +2210,7 @@ const IDirect3DDevice8Vtbl Direct3DDevice8_Vtbl =
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Internal function called back during the CreateDevice to create a render target */
|
/* Internal function called back during the CreateDevice to create a render target */
|
||||||
HRESULT WINAPI D3D8CB_CreateSurface(IUnknown *device, IUnknown *pSuperior, UINT Width, UINT Height,
|
static HRESULT WINAPI D3D8CB_CreateSurface(IUnknown *device, IUnknown *pSuperior, UINT Width, UINT Height,
|
||||||
WINED3DFORMAT Format, DWORD Usage, WINED3DPOOL Pool, UINT Level,
|
WINED3DFORMAT Format, DWORD Usage, WINED3DPOOL Pool, UINT Level,
|
||||||
WINED3DCUBEMAP_FACES Face, IWineD3DSurface **ppSurface,
|
WINED3DCUBEMAP_FACES Face, IWineD3DSurface **ppSurface,
|
||||||
HANDLE *pSharedHandle) {
|
HANDLE *pSharedHandle) {
|
||||||
|
|
Loading…
Reference in New Issue