d3d10core: Release the wined3d shader when the d3d10 pixel shader is destroyed.
This commit is contained in:
parent
bb3b5a7305
commit
cc4d5dc97f
@ -362,6 +362,7 @@ static ULONG STDMETHODCALLTYPE d3d10_pixel_shader_Release(ID3D10PixelShader *ifa
|
|||||||
|
|
||||||
if (!refcount)
|
if (!refcount)
|
||||||
{
|
{
|
||||||
|
IWineD3DPixelShader_Release(This->wined3d_shader);
|
||||||
shader_free_signature(&This->output_signature);
|
shader_free_signature(&This->output_signature);
|
||||||
HeapFree(GetProcessHeap(), 0, This);
|
HeapFree(GetProcessHeap(), 0, This);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user