Commit 0c06bb7a authored by Aaryaman Vasishta's avatar Aaryaman Vasishta Committed by Alexandre Julliard

d3drm: Thunk IDirect3DRMTexture2::AddRef to version 3.

parent f1c3f7ff
...@@ -77,11 +77,10 @@ static HRESULT WINAPI d3drm_texture2_QueryInterface(IDirect3DRMTexture2 *iface, ...@@ -77,11 +77,10 @@ static HRESULT WINAPI d3drm_texture2_QueryInterface(IDirect3DRMTexture2 *iface,
static ULONG WINAPI d3drm_texture2_AddRef(IDirect3DRMTexture2 *iface) static ULONG WINAPI d3drm_texture2_AddRef(IDirect3DRMTexture2 *iface)
{ {
struct d3drm_texture *texture = impl_from_IDirect3DRMTexture2(iface); struct d3drm_texture *texture = impl_from_IDirect3DRMTexture2(iface);
ULONG refcount = InterlockedIncrement(&texture->ref);
TRACE("%p increasing refcount to %u.\n", iface, refcount); TRACE("iface %p.\n", iface);
return refcount; return IDirect3DRMTexture3_AddRef(&texture->IDirect3DRMTexture3_iface);
} }
static ULONG WINAPI d3drm_texture2_Release(IDirect3DRMTexture2 *iface) static ULONG WINAPI d3drm_texture2_Release(IDirect3DRMTexture2 *iface)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment