[PATCH 2/8] wined3d: remove wined3d_volume_get_parent
Riccardo Bortolato
rikyz619 at gmail.com
Wed Sep 9 12:02:20 CDT 2015
---
dlls/wined3d/volume.c | 7 -------
dlls/wined3d/wined3d.spec | 1 -
include/wine/wined3d.h | 1 -
3 files changed, 9 deletions(-)
diff --git a/dlls/wined3d/volume.c b/dlls/wined3d/volume.c
index 1bce5c0..6d62c5e 100644
--- a/dlls/wined3d/volume.c
+++ b/dlls/wined3d/volume.c
@@ -474,13 +474,6 @@ ULONG CDECL wined3d_volume_decref(struct wined3d_volume *volume)
return wined3d_texture_decref(volume->container);
}
-void * CDECL wined3d_volume_get_parent(const struct wined3d_volume *volume)
-{
- TRACE("volume %p.\n", volume);
-
- return volume->resource.parent;
-}
-
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 ec3cc45..f2447da 100644
--- a/dlls/wined3d/wined3d.spec
+++ b/dlls/wined3d/wined3d.spec
@@ -285,7 +285,6 @@
@ cdecl wined3d_volume_decref(ptr)
@ cdecl wined3d_volume_from_resource(ptr)
-@ cdecl wined3d_volume_get_parent(ptr)
@ cdecl wined3d_volume_get_resource(ptr)
@ cdecl wined3d_volume_incref(ptr)
@ cdecl wined3d_volume_map(ptr ptr ptr long)
diff --git a/include/wine/wined3d.h b/include/wine/wined3d.h
index abd8a74..22924e3 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -2575,7 +2575,6 @@ ULONG __cdecl wined3d_vertex_declaration_incref(struct wined3d_vertex_declaratio
ULONG __cdecl wined3d_volume_decref(struct wined3d_volume *volume);
struct wined3d_volume * __cdecl wined3d_volume_from_resource(struct wined3d_resource *resource);
-void * __cdecl wined3d_volume_get_parent(const struct wined3d_volume *volume);
struct wined3d_resource * __cdecl wined3d_volume_get_resource(struct wined3d_volume *volume);
ULONG __cdecl wined3d_volume_incref(struct wined3d_volume *volume);
HRESULT __cdecl wined3d_volume_map(struct wined3d_volume *volume,
--
1.9.1
More information about the wine-patches
mailing list