ddraw: Make ddraw_reset_enum_callback() and ddraw_surface_destroy() static.
This commit is contained in:
parent
ee2111b5d5
commit
daeb4d6d29
|
@ -2649,7 +2649,7 @@ CreateAdditionalSurfaces(IDirectDrawImpl *This,
|
||||||
return DD_OK;
|
return DD_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT CDECL ddraw_reset_enum_callback(struct wined3d_resource *resource)
|
static HRESULT CDECL ddraw_reset_enum_callback(struct wined3d_resource *resource)
|
||||||
{
|
{
|
||||||
return DD_OK;
|
return DD_OK;
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,7 +200,6 @@ struct IDirectDrawSurfaceImpl
|
||||||
};
|
};
|
||||||
|
|
||||||
HRESULT ddraw_surface_create_texture(IDirectDrawSurfaceImpl *surface) DECLSPEC_HIDDEN;
|
HRESULT ddraw_surface_create_texture(IDirectDrawSurfaceImpl *surface) DECLSPEC_HIDDEN;
|
||||||
void ddraw_surface_destroy(IDirectDrawSurfaceImpl *surface) DECLSPEC_HIDDEN;
|
|
||||||
HRESULT ddraw_surface_init(IDirectDrawSurfaceImpl *surface, IDirectDrawImpl *ddraw,
|
HRESULT ddraw_surface_init(IDirectDrawSurfaceImpl *surface, IDirectDrawImpl *ddraw,
|
||||||
DDSURFACEDESC2 *desc, UINT mip_level, UINT version) DECLSPEC_HIDDEN;
|
DDSURFACEDESC2 *desc, UINT mip_level, UINT version) DECLSPEC_HIDDEN;
|
||||||
ULONG ddraw_surface_release_iface(IDirectDrawSurfaceImpl *This) DECLSPEC_HIDDEN;
|
ULONG ddraw_surface_release_iface(IDirectDrawSurfaceImpl *This) DECLSPEC_HIDDEN;
|
||||||
|
|
|
@ -429,7 +429,7 @@ static ULONG WINAPI d3d_texture1_AddRef(IDirect3DTexture *iface)
|
||||||
* This: Surface to free
|
* This: Surface to free
|
||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
void ddraw_surface_destroy(IDirectDrawSurfaceImpl *This)
|
static void ddraw_surface_destroy(IDirectDrawSurfaceImpl *This)
|
||||||
{
|
{
|
||||||
TRACE("surface %p.\n", This);
|
TRACE("surface %p.\n", This);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue