diff options
author | Keith Whitwell <[email protected]> | 2008-04-22 15:26:38 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-22 15:26:38 +0100 |
commit | 88f8eed3c4430505b1436b6c5b0114d34c33f822 (patch) | |
tree | d3845f1071dc6f3fe779bb9b25faaa6aaa905c09 /src/gallium/auxiliary/cso_cache | |
parent | f9b1d47d652778012fd35552ffc51717ac0b6f79 (diff) |
cso: fix vs/fs confusion
Diffstat (limited to 'src/gallium/auxiliary/cso_cache')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index 2d98a34edfd..23b1f5a0321 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++ b/src/gallium/auxiliary/cso_cache/cso_context.c @@ -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; |