gallium: use cso_destroy_vertex/fragment_shader() functions
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Apr 2008 18:11:24 +0000 (12:11 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Apr 2008 18:15:05 +0000 (12:15 -0600)
commita770d40c3d4977e2c134661b5d8facaea446b6ea
treead72c97ae622bf0c0d952affad0b41de6961a99b
parent386102c62a3315182ffbc6319351cb883234511a
gallium: use cso_destroy_vertex/fragment_shader() functions

Also, rearrange the st_destroy_context() code a bit to prevent some
invalid/NULL ptr derefs during tear-down.
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_cb_program.c
src/mesa/state_tracker/st_context.c
src/mesa/state_tracker/st_program.c