d3dcompiler: Implement ID3DBlob::GetBufferSize().

This commit is contained in:
Rico Schüller 2010-08-15 17:05:40 +02:00 committed by Alexandre Julliard
parent d889800beb
commit fa456a61bc
1 changed files with 4 additions and 2 deletions

View File

@ -86,9 +86,11 @@ static void * STDMETHODCALLTYPE d3dcompiler_blob_GetBufferPointer(ID3DBlob *ifac
static SIZE_T STDMETHODCALLTYPE d3dcompiler_blob_GetBufferSize(ID3DBlob *iface) static SIZE_T STDMETHODCALLTYPE d3dcompiler_blob_GetBufferSize(ID3DBlob *iface)
{ {
FIXME("iface %p stub!\n", iface); struct d3dcompiler_blob *blob = (struct d3dcompiler_blob *)iface;
return 0; TRACE("iface %p\n", iface);
return blob->size;
} }
const struct ID3D10BlobVtbl d3dcompiler_blob_vtbl = const struct ID3D10BlobVtbl d3dcompiler_blob_vtbl =