Rico Schüller : d3dcompiler: Implement ID3DBlob:: GetBufferPointer().

Alexandre Julliard julliard at winehq.org
Tue Aug 17 11:31:09 CDT 2010


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

Author: Rico Schüller <kgbricola at web.de>
Date:   Sun Aug 15 17:05:34 2010 +0200

d3dcompiler: Implement ID3DBlob::GetBufferPointer().

---

 dlls/d3dcompiler_43/blob.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/d3dcompiler_43/blob.c b/dlls/d3dcompiler_43/blob.c
index e5d11e5..9fb7b4b 100644
--- a/dlls/d3dcompiler_43/blob.c
+++ b/dlls/d3dcompiler_43/blob.c
@@ -77,9 +77,11 @@ static ULONG STDMETHODCALLTYPE d3dcompiler_blob_Release(ID3DBlob *iface)
 
 static void * STDMETHODCALLTYPE d3dcompiler_blob_GetBufferPointer(ID3DBlob *iface)
 {
-    FIXME("iface %p stub!\n", iface);
+    struct d3dcompiler_blob *blob = (struct d3dcompiler_blob *)iface;
+
+    TRACE("iface %p\n", iface);
 
-    return NULL;
+    return blob->data;
 }
 
 static SIZE_T STDMETHODCALLTYPE d3dcompiler_blob_GetBufferSize(ID3DBlob *iface)




More information about the wine-cvs mailing list