gallium: remove dead code
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 19 May 2008 22:05:41 +0000 (16:05 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 19 May 2008 22:07:10 +0000 (16:07 -0600)
src/mesa/state_tracker/st_cb_bitmap.c

index d39fce1bb7d521051b7d4d6d3de3b5205a2b9f7d..c8e2d7d118ccf276ec7981b63aa4d495caf413ec 100644 (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;