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

This commit is contained in:
Henri Verbeet 2009-05-08 17:44:25 +02:00 committed by Alexandre Julliard
parent bb3b5a7305
commit cc4d5dc97f
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}