Riccardo Bortolato : wined3d: Remove wined3d_volume_get_parent.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Sep 10 08:07:53 CDT 2015


Module: wine
Branch: master
Commit: 5cba355a8392c41b9b7b418eb910fb5c454b5528
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5cba355a8392c41b9b7b418eb910fb5c454b5528

Author: Riccardo Bortolato <rikyz619 at gmail.com>
Date:   Wed Sep  9 19:02:20 2015 +0200

wined3d: Remove wined3d_volume_get_parent.

---

 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 8f686fb..e2b9e1f 100644
--- a/include/wine/wined3d.h
+++ b/include/wine/wined3d.h
@@ -2568,7 +2568,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,




More information about the wine-cvs mailing list