Rico Schüller : d3dcompiler: Implement ID3DBlob:: GetBufferSize().
Alexandre Julliard
julliard at winehq.org
Tue Aug 17 11:31:09 CDT 2010
Module: wine
Branch: master
Commit: fa456a61bc289c9f3bc19cd7ef13482742e4fe7b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fa456a61bc289c9f3bc19cd7ef13482742e4fe7b
Author: Rico Schüller <kgbricola at web.de>
Date: Sun Aug 15 17:05:40 2010 +0200
d3dcompiler: Implement ID3DBlob::GetBufferSize().
---
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 9fb7b4b..dd3c388 100644
--- a/dlls/d3dcompiler_43/blob.c
+++ b/dlls/d3dcompiler_43/blob.c
@@ -86,9 +86,11 @@ static void * STDMETHODCALLTYPE d3dcompiler_blob_GetBufferPointer(ID3DBlob *ifac
static SIZE_T STDMETHODCALLTYPE d3dcompiler_blob_GetBufferSize(ID3DBlob *iface)
{
- FIXME("iface %p stub!\n", iface);
+ struct d3dcompiler_blob *blob = (struct d3dcompiler_blob *)iface;
+
+ TRACE("iface %p\n", iface);
- return 0;
+ return blob->size;
}
const struct ID3D10BlobVtbl d3dcompiler_blob_vtbl =
More information about the wine-cvs
mailing list