[PATCH 4/5] wined3d: Get rid of wined3d_volume_get_type().
Henri Verbeet
hverbeet at codeweavers.com
Thu Apr 21 15:39:31 CDT 2011
---
dlls/wined3d/volume.c | 5 -----
dlls/wined3d/wined3d.spec | 1 -
include/wine/wined3d.idl | 1 -
3 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/dlls/wined3d/volume.c b/dlls/wined3d/volume.c
index 66d7d6d..1792e1b 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 8d786fb..dfc4098 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 20202bb..02c0d06 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);
--
1.7.3.4
More information about the wine-patches
mailing list