From: Michel Dänzer Date: Tue, 22 Apr 2008 13:22:11 +0000 (+0100) Subject: gallium: How about restoring shaders instead of saving them again... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fd4acd6fdaaad4871327d081f5501680ed9da2ed;p=mesa.git gallium: How about restoring shaders instead of saving them again... --- diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index 71a848ea540..701d1e397e3 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state_tracker/st_cb_bitmap.c @@ -490,8 +490,8 @@ draw_bitmap_quad(GLcontext *ctx, GLint x, GLint y, GLfloat z, cso_restore_samplers(cso); cso_restore_sampler_textures(cso); cso_restore_viewport(cso); - cso_save_fragment_shader(cso); - cso_save_vertex_shader(cso); + cso_restore_fragment_shader(cso); + cso_restore_vertex_shader(cso); }