Commit 7c70f543 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d3d10: Release rasterizer state references in d3d10_effect_variable_destroy().

parent 577217f9
......@@ -2300,6 +2300,11 @@ static void d3d10_effect_variable_destroy(struct d3d10_effect_variable *v)
ID3D10BlendState_Release(v->u.state.object.blend);
break;
case D3D10_SVT_RASTERIZER:
if (v->u.state.object.rasterizer)
ID3D10RasterizerState_Release(v->u.state.object.rasterizer);
break;
default:
break;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment