gallium: How about restoring shaders instead of saving them again...

This commit is contained in:
Michel Dänzer
2008-04-22 14:22:11 +01:00
parent 57b85e197b
commit fd4acd6fda

View File

@@ -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);
}