Commit 32bba812 authored by Rico Schüller's avatar Rico Schüller Committed by Alexandre Julliard

d3dx9: Fix ID3DXEffect::SetStateManager().

parent d59c3d45
......@@ -2944,8 +2944,8 @@ static HRESULT WINAPI ID3DXEffectImpl_SetStateManager(ID3DXEffect *iface, LPD3DX
TRACE("iface %p, manager %p\n", This, manager);
if (This->manager) IUnknown_Release(This->manager);
if (manager) IUnknown_AddRef(manager);
if (This->manager) IUnknown_Release(This->manager);
This->manager = manager;
......
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