diff options
author | Michel Dänzer <[email protected]> | 2008-04-22 14:22:11 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2008-04-22 14:22:11 +0100 |
commit | fd4acd6fdaaad4871327d081f5501680ed9da2ed (patch) | |
tree | a54fe456d460cfdad6cdca213d6e903e2856ebc8 | |
parent | 57b85e197b33d39063d431500016dffcce46ab7c (diff) |
gallium: How about restoring shaders instead of saving them again...
-rw-r--r-- | src/mesa/state_tracker/st_cb_bitmap.c | 4 |
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 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); } |