aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-05-19 16:05:41 -0600
committerBrian Paul <[email protected]>2008-05-19 16:07:10 -0600
commitde03e8e9604afd7b61002e8d7e0f94a859734abf (patch)
tree6a926df0d26ebe8977823182ebf3033c7e51f5f7 /src/mesa/state_tracker
parent65075da8c39f686ec4ab6593d7b0574982d21a23 (diff)
gallium: remove dead code
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c
index d39fce1bb7d..c8e2d7d118c 100644
--- a/src/mesa/state_tracker/st_cb_bitmap.c
+++ b/src/mesa/state_tracker/st_cb_bitmap.c
@@ -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;