summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_cb_bitmap.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-04-22 14:22:11 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2008-04-22 14:22:11 +0100
commitfd4acd6fdaaad4871327d081f5501680ed9da2ed (patch)
treea54fe456d460cfdad6cdca213d6e903e2856ebc8 /src/mesa/state_tracker/st_cb_bitmap.c
parent57b85e197b33d39063d431500016dffcce46ab7c (diff)
gallium: How about restoring shaders instead of saving them again...
Diffstat (limited to 'src/mesa/state_tracker/st_cb_bitmap.c')
-rw-r--r--src/mesa/state_tracker/st_cb_bitmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c
index 71a848ea54..701d1e397e 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);
}