mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
d3d11: AddRef device returned from d3d11_buffer_GetDevice().
This commit is contained in:
parent
b500ae04b4
commit
ae2b1539a9
@ -109,6 +109,7 @@ static void STDMETHODCALLTYPE d3d11_buffer_GetDevice(ID3D11Buffer *iface, ID3D11
|
||||
TRACE("iface %p, device %p.\n", iface, device);
|
||||
|
||||
*device = buffer->device;
|
||||
ID3D11Device_AddRef(*device);
|
||||
}
|
||||
|
||||
static HRESULT STDMETHODCALLTYPE d3d11_buffer_GetPrivateData(ID3D11Buffer *iface,
|
||||
|
Loading…
Reference in New Issue
Block a user