Henri Verbeet : d3d10core: Release the wined3d shader when the d3d10 pixel shader is destroyed.

Alexandre Julliard julliard at winehq.org
Mon May 11 09:10:45 CDT 2009


Module: wine
Branch: master
Commit: cc4d5dc97f8f9cad448135a4c579fa875cab1a7e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cc4d5dc97f8f9cad448135a4c579fa875cab1a7e

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri May  8 17:44:25 2009 +0200

d3d10core: Release the wined3d shader when the d3d10 pixel shader is destroyed.

---

 dlls/d3d10core/shader.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/d3d10core/shader.c b/dlls/d3d10core/shader.c
index f5b64b9..41b5a1a 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);
     }




More information about the wine-cvs mailing list