Avoid redundant reallocation of the template.
authorZack Rusin <zack@tungstengraphics.com>
Wed, 19 Sep 2007 18:06:19 +0000 (14:06 -0400)
committerZack Rusin <zack@tungstengraphics.com>
Wed, 19 Sep 2007 18:06:19 +0000 (14:06 -0400)
commitc8650b087440c7ba5ad0d8652dc916852e55bc1d
tree1bca7e2e2ad7f3372478f389991dfbb68e62cf11
parentfe555c39bb7fd530298b5be4a8f06bff41726c86
Avoid redundant reallocation of the template.

cso already allocated the template for us. Returning 0 means
we have no driver specific representation and just want
the template on the bind.
src/mesa/pipe/softpipe/sp_state_blend.c
src/mesa/state_tracker/st_atom_blend.c