mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +00:00
d3d10: Release blend state references in d3d10_effect_variable_destroy().
This commit is contained in:
parent
bf17789a33
commit
577217f91a
@ -2295,6 +2295,11 @@ static void d3d10_effect_variable_destroy(struct d3d10_effect_variable *v)
|
||||
ID3D10DepthStencilState_Release(v->u.state.object.depth_stencil);
|
||||
break;
|
||||
|
||||
case D3D10_SVT_BLEND:
|
||||
if (v->u.state.object.blend)
|
||||
ID3D10BlendState_Release(v->u.state.object.blend);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user