d3d10core: Release the wined3d shader when the d3d10 pixel shader is destroyed.
Henri Verbeet
hverbeet at codeweavers.com
Fri May 8 10:44:25 CDT 2009
---
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);
}
--
1.6.0.6
--------------040707080007070602030702--
More information about the wine-patches
mailing list