d3dcompiler: Implement ID3DBlob::GetBufferPointer().

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

View File

@ -77,9 +77,11 @@ static ULONG STDMETHODCALLTYPE d3dcompiler_blob_Release(ID3DBlob *iface)
static void * STDMETHODCALLTYPE d3dcompiler_blob_GetBufferPointer(ID3DBlob *iface) static void * STDMETHODCALLTYPE d3dcompiler_blob_GetBufferPointer(ID3DBlob *iface)
{ {
FIXME("iface %p stub!\n", iface); struct d3dcompiler_blob *blob = (struct d3dcompiler_blob *)iface;
return NULL; TRACE("iface %p\n", iface);
return blob->data;
} }
static SIZE_T STDMETHODCALLTYPE d3dcompiler_blob_GetBufferSize(ID3DBlob *iface) static SIZE_T STDMETHODCALLTYPE d3dcompiler_blob_GetBufferSize(ID3DBlob *iface)