From cc39bde98d998caf7693704dd50afbde2104508b Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Thu, 21 Apr 2011 22:39:31 +0200 Subject: [PATCH] wined3d: Get rid of wined3d_volume_get_type(). --- dlls/wined3d/volume.c | 5 ----- dlls/wined3d/wined3d.spec | 1 - include/wine/wined3d.idl | 1 - 3 files changed, 7 deletions(-) diff --git a/dlls/wined3d/volume.c b/dlls/wined3d/volume.c index 66d7d6da897..1792e1b3e15 100644 --- a/dlls/wined3d/volume.c +++ b/dlls/wined3d/volume.c @@ -208,11 +208,6 @@ void CDECL wined3d_volume_preload(struct wined3d_volume *volume) FIXME("volume %p stub!\n", volume); } -WINED3DRESOURCETYPE CDECL wined3d_volume_get_type(const struct wined3d_volume *volume) -{ - return resource_get_type(&volume->resource); -} - struct wined3d_resource * CDECL wined3d_volume_get_resource(struct wined3d_volume *volume) { TRACE("volume %p.\n", volume); diff --git a/dlls/wined3d/wined3d.spec b/dlls/wined3d/wined3d.spec index 8d786fb7982..dfc40982662 100644 --- a/dlls/wined3d/wined3d.spec +++ b/dlls/wined3d/wined3d.spec @@ -120,7 +120,6 @@ @ cdecl wined3d_volume_get_priority(ptr) @ cdecl wined3d_volume_get_private_data(ptr ptr ptr ptr) @ cdecl wined3d_volume_get_resource(ptr) -@ cdecl wined3d_volume_get_type(ptr) @ cdecl wined3d_volume_incref(ptr) @ cdecl wined3d_volume_map(ptr ptr ptr long) @ cdecl wined3d_volume_preload(ptr) diff --git a/include/wine/wined3d.idl b/include/wine/wined3d.idl index 20202bbf416..02c0d066480 100644 --- a/include/wine/wined3d.idl +++ b/include/wine/wined3d.idl @@ -3052,7 +3052,6 @@ DWORD __cdecl wined3d_volume_get_priority(const struct wined3d_volume *volume); HRESULT __cdecl wined3d_volume_get_private_data(const struct wined3d_volume *volume, REFGUID guid, void *data, DWORD *data_size); struct wined3d_resource * __cdecl wined3d_volume_get_resource(struct wined3d_volume *volume); -WINED3DRESOURCETYPE __cdecl wined3d_volume_get_type(const struct wined3d_volume *volume); ULONG __cdecl wined3d_volume_incref(struct wined3d_volume *volume); HRESULT __cdecl wined3d_volume_map(struct wined3d_volume *volume, WINED3DLOCKED_BOX *locked_box, const WINED3DBOX *box, DWORD flags); -- 2.11.4.GIT