st/mesa: use cso_save/restore_state() in st_cb_texture.c
authorBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2016 17:22:32 +0000 (10:22 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 16 Feb 2016 17:22:32 +0000 (10:22 -0700)
commit38db9a4e262f01a82f55c89605bbc687e2ee99e3
treed7a0514346bd7ebb385f2ca0f404e1847aa0a87d
parent33fc2486063cc15e95b8fad8f130be4376f06e95
st/mesa: use cso_save/restore_state() in st_cb_texture.c

This simplifies the error handling code too.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_cb_texture.c