From: Corbin Simpson Date: Tue, 9 Mar 2010 15:30:27 +0000 (-0800) Subject: cso: Fix typo in assert. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a73fd447d4bb3d509fedf52b18a50fccab618298;p=mesa.git cso: Fix typo in assert. --- diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index 292e489312b..f8cb01467cc 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; }