st/mesa: removed unused var
authorBrian Paul <brianp@vmware.com>
Tue, 12 Jan 2010 04:17:49 +0000 (21:17 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 12 Jan 2010 04:25:58 +0000 (21:25 -0700)
src/mesa/state_tracker/st_draw.c

index e54f21be6009c7a1051127df9aeb68f1843c7a61..011a8cac0c667334826b1c0982788a0fd4a3d192 100644 (file)
@@ -522,7 +522,6 @@ st_draw_vbo(GLcontext *ctx,
    struct pipe_context *pipe = ctx->st->pipe;
    const struct st_vertex_program *vp;
    const struct st_vp_varient *vpv;
-   const struct pipe_shader_state *vs;
    struct pipe_vertex_buffer vbuffer[PIPE_MAX_SHADER_INPUTS];
    GLuint attr;
    struct pipe_vertex_element velements[PIPE_MAX_ATTRIBS];
@@ -550,7 +549,6 @@ st_draw_vbo(GLcontext *ctx,
    /* must get these after state validation! */
    vp = ctx->st->vp;
    vpv = ctx->st->vp_varient;
-   vs = &vpv->state;
 
 #if 0
    if (MESA_VERBOSE & VERBOSE_GLSL) {