static void
aaline_destroy(struct draw_stage *stage)
{
+ struct aaline_stage *aaline = aaline_stage(stage);
+
+ aaline->pipe->delete_sampler_state(aaline->pipe, aaline->sampler_cso);
+
+ pipe_texture_release(&aaline->texture);
+
draw_free_temp_verts( stage );
+
FREE( stage );
}
static void
pstip_destroy(struct draw_stage *stage)
{
+ struct pstip_stage *pstip = pstip_stage(stage);
+
+ pstip->pipe->delete_sampler_state(pstip->pipe, pstip->sampler_cso);
+
+ pipe_texture_release(&pstip->texture);
+
draw_free_temp_verts( stage );
FREE( stage );
}