gallium: remove dead code
This commit is contained in:
@@ -743,15 +743,6 @@ st_destroy_bitmap(struct st_context *st)
|
|||||||
{
|
{
|
||||||
struct pipe_context *pipe = st->pipe;
|
struct pipe_context *pipe = st->pipe;
|
||||||
|
|
||||||
#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) {
|
if (st->bitmap.vs) {
|
||||||
cso_delete_vertex_shader(st->cso_context, st->bitmap.vs);
|
cso_delete_vertex_shader(st->cso_context, st->bitmap.vs);
|
||||||
st->bitmap.vs = NULL;
|
st->bitmap.vs = NULL;
|
||||||
|
Reference in New Issue
Block a user