From: Brian Paul Date: Thu, 8 May 2008 23:11:55 +0000 (-0600) Subject: gallium: remove dead code X-Git-Tag: mesa-7.8~4139^2~390^2~1554 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f3ecd488ddb9ef0949466accbd7db686c8e4662e;p=platform%2Fupstream%2Fmesa.git gallium: remove dead code --- diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index 56ca171..b17681a 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state_tracker/st_cb_bitmap.c @@ -579,18 +579,9 @@ st_flush_bitmap_cache(struct st_context *st) /* The texture surface has been mapped until now. * So unmap and release the texture surface before drawing. */ -#if 0 - pipe_surface_unmap(cache->surf); - pipe_surface_reference(&cache->surf, NULL); -#else screen->surface_unmap(screen, cache->surf); screen->tex_surface_release(screen, &cache->surf); -#endif -#if 0 - /* XXX is this needed? */ - pipe->texture_update(pipe, cache->texture, 0, 0x1); -#endif draw_bitmap_quad(st->ctx, cache->xpos, cache->ypos,