cso: Fix typo in assert.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 9 Mar 2010 15:30:27 +0000 (07:30 -0800)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Tue, 9 Mar 2010 15:31:27 +0000 (07:31 -0800)
src/gallium/auxiliary/cso_cache/cso_context.c

index 292e489312b1572b0d693201c473be7c8a8a2448..f8cb01467cc2f11b30a1e7bbed2984d5a9370358 100644 (file)
@@ -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;
 }