gallium: remove dead code

This commit is contained in:
Brian Paul
2008-05-19 16:05:41 -06:00
parent 65075da8c3
commit de03e8e960
-9
View File
@@ -753,15 +753,6 @@ st_destroy_bitmap(struct st_context *st)
screen->surface_unmap(screen, cache->surf);
screen->tex_surface_release(screen, &cache->surf);
#if 0
if (st->bitmap.combined_prog) {
st_delete_program(st->ctx, &st->bitmap.combined_prog->Base.Base);
}
if (st->bitmap.program) {
st_delete_program(st->ctx, &st->bitmap.program->Base.Base);
}
#endif
if (st->bitmap.vs) {
cso_delete_vertex_shader(st->cso_context, st->bitmap.vs);
st->bitmap.vs = NULL;