Merge branch 'mesa_7_7_branch'
[mesa.git] / src / mesa / state_tracker / st_draw.c
index 5c6af1125a3da3988b8c89ab6064eb49d6af07db..d297b9bc06ddd5b69f73972b6b993de675a8a406 100644 (file)
@@ -573,7 +573,7 @@ st_draw_vbo(GLcontext *ctx,
 
    /* must get these after state validation! */
    vp = ctx->st->vp;
-   vs = &ctx->st->vp->state;
+   vs = &ctx->st->vp_varient->state;
 
 #if 0
    if (MESA_VERBOSE & VERBOSE_GLSL) {