From cc4d5dc97f8f9cad448135a4c579fa875cab1a7e Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 8 May 2009 17:44:25 +0200 Subject: [PATCH] d3d10core: Release the wined3d shader when the d3d10 pixel shader is destroyed. --- dlls/d3d10core/shader.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/d3d10core/shader.c b/dlls/d3d10core/shader.c index f5b64b9c665..41b5a1a55d6 100644 --- a/dlls/d3d10core/shader.c +++ b/dlls/d3d10core/shader.c @@ -362,6 +362,7 @@ static ULONG STDMETHODCALLTYPE d3d10_pixel_shader_Release(ID3D10PixelShader *ifa if (!refcount) { + IWineD3DPixelShader_Release(This->wined3d_shader); shader_free_signature(&This->output_signature); HeapFree(GetProcessHeap(), 0, This); }