d3drm: Make d3drm_device_set_ddraw_device_d3d() static.
Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c3cee86d75
commit
43cf833c5d
@ -106,8 +106,6 @@ HRESULT d3drm_device_create_surfaces_from_clipper(struct d3drm_device *object, I
|
|||||||
void d3drm_device_destroy(struct d3drm_device *device) DECLSPEC_HIDDEN;
|
void d3drm_device_destroy(struct d3drm_device *device) DECLSPEC_HIDDEN;
|
||||||
HRESULT d3drm_device_init(struct d3drm_device *device, UINT version, IDirectDraw *ddraw,
|
HRESULT d3drm_device_init(struct d3drm_device *device, UINT version, IDirectDraw *ddraw,
|
||||||
IDirectDrawSurface *surface, BOOL create_z_surface) DECLSPEC_HIDDEN;
|
IDirectDrawSurface *surface, BOOL create_z_surface) DECLSPEC_HIDDEN;
|
||||||
HRESULT d3drm_device_set_ddraw_device_d3d(struct d3drm_device *device,
|
|
||||||
IDirect3D *d3d, IDirect3DDevice *d3d_device) DECLSPEC_HIDDEN;
|
|
||||||
|
|
||||||
void d3drm_object_init(struct d3drm_object *object) DECLSPEC_HIDDEN;
|
void d3drm_object_init(struct d3drm_object *object) DECLSPEC_HIDDEN;
|
||||||
HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx) DECLSPEC_HIDDEN;
|
HRESULT d3drm_object_add_destroy_callback(struct d3drm_object *object, D3DRMOBJECTCALLBACK cb, void *ctx) DECLSPEC_HIDDEN;
|
||||||
|
@ -208,7 +208,7 @@ HRESULT d3drm_device_init(struct d3drm_device *device, UINT version, IDirectDraw
|
|||||||
return hr;
|
return hr;
|
||||||
}
|
}
|
||||||
|
|
||||||
HRESULT d3drm_device_set_ddraw_device_d3d(struct d3drm_device *device, IDirect3D *d3d, IDirect3DDevice *d3d_device)
|
static HRESULT d3drm_device_set_ddraw_device_d3d(struct d3drm_device *device, IDirect3D *d3d, IDirect3DDevice *d3d_device)
|
||||||
{
|
{
|
||||||
IDirectDraw *ddraw;
|
IDirectDraw *ddraw;
|
||||||
IDirectDrawSurface *surface;
|
IDirectDrawSurface *surface;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user