llvmpipe: remove redundant tgsi_dup_tokens() call

We were calling this twice so the first allocation was orphaned/leaked.
This commit is contained in:
Brian Paul
2010-09-09 10:03:46 -06:00
parent cdd5f21eac
commit 3ec296390c
@@ -901,9 +901,6 @@ llvmpipe_create_fs_state(struct pipe_context *pipe,
debug_printf("\n");
}
/* Keep a copy of the tokens in shader->base.tokens */
shader->base.tokens = tgsi_dup_tokens(templ->tokens);
return shader;
}