Commit f5c46b01 authored by Ričardas Barkauskas's avatar Ričardas Barkauskas Committed by Alexandre Julliard

ddraw: Do not increase wined3d texture refcount in IDirect3DDevice7_GetTexture.

parent 187f50aa
......@@ -4453,6 +4453,7 @@ IDirect3DDeviceImpl_7_GetTexture(IDirect3DDevice7 *iface,
*Texture = wined3d_texture_get_parent(wined3d_texture);
IDirectDrawSurface7_AddRef(*Texture);
wined3d_texture_decref(wined3d_texture);
LeaveCriticalSection(&ddraw_cs);
return hr;
}
......
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