summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/cso_cache
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2010-03-09 07:30:27 -0800
committerCorbin Simpson <MostAwesomeDude@gmail.com>2010-03-09 07:31:27 -0800
commita73fd447d4bb3d509fedf52b18a50fccab618298 (patch)
treee965250342e7e4d8caecd6c92d62f52c0d3febf4 /src/gallium/auxiliary/cso_cache
parent141c7cb0d6078b3a2832c4be03ddcf25e35e596b (diff)
cso: Fix typo in assert.
Diffstat (limited to 'src/gallium/auxiliary/cso_cache')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_context.c2
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 292e489312..f8cb01467c 100644
--- a/src/gallium/auxiliary/cso_cache/cso_context.c
+++ b/src/gallium/auxiliary/cso_cache/cso_context.c
@@ -1248,7 +1248,7 @@ enum pipe_error cso_set_vertex_elements(struct cso_context *ctx,
void cso_save_vertex_elements(struct cso_context *ctx)
{
- assert(!ctx->velements);
+ assert(!ctx->velements_saved);
ctx->velements_saved = ctx->velements;
}