d3d11: AddRef device returned from d3d11_buffer_GetDevice().

This commit is contained in:
Józef Kucia 2015-09-06 16:45:49 +02:00 committed by Alexandre Julliard
parent b500ae04b4
commit ae2b1539a9

View File

@ -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,