cso: fix vs/fs confusion
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 22 Apr 2008 14:26:38 +0000 (15:26 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 22 Apr 2008 14:26:38 +0000 (15:26 +0100)
src/gallium/auxiliary/cso_cache/cso_context.c

index 2d98a34edfd3e617e5737fbd4b3d6a372f588523..23b1f5a0321520dfb4cc97d05e4f3a7eb1955740 100644 (file)
@@ -600,7 +600,7 @@ void cso_restore_vertex_shader(struct cso_context *ctx)
 {
    assert(ctx->vertex_shader_saved);
    if (ctx->vertex_shader_saved != ctx->vertex_shader) {
-      ctx->pipe->bind_fs_state(ctx->pipe, ctx->vertex_shader_saved);
+      ctx->pipe->bind_vs_state(ctx->pipe, ctx->vertex_shader_saved);
       ctx->vertex_shader = ctx->vertex_shader_saved;
    }
    ctx->vertex_shader_saved = NULL;