tnl: remove unused var to silence warning
authorBrian Paul <brianp@vmware.com>
Wed, 29 Mar 2017 16:50:00 +0000 (10:50 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 31 Mar 2017 19:30:54 +0000 (13:30 -0600)
Trivial.

src/mesa/tnl/t_vp_build.c

index 3d8210cec25739fa43eac43a7f372985fccc1143..7de2105d32679be6cbc1aa3acfa3d77527498806 100644 (file)
@@ -40,8 +40,6 @@
  */
 void _tnl_UpdateFixedFunctionProgram( struct gl_context *ctx )
 {
-   const struct gl_program *prev = ctx->VertexProgram._Current;
-
    if (!ctx->VertexProgram._Current ||
        ctx->VertexProgram._Current == ctx->VertexProgram._TnlProgram) {
       ctx->VertexProgram._Current