diff options
author | Brian Paul <[email protected]> | 2017-03-29 10:50:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-03-31 13:30:54 -0600 |
commit | 15bb0511d663b5458105f8eb7a68d917d9612ac7 (patch) | |
tree | f6a04bf7ab131fa2c687583b68692eb8e06d4b4a /src/mesa/tnl | |
parent | 2e24a11f1dcfb6802a643f5891874ea7bb682474 (diff) |
tnl: remove unused var to silence warning
Trivial.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_vp_build.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vp_build.c b/src/mesa/tnl/t_vp_build.c index 3d8210cec25..7de2105d326 100644 --- a/src/mesa/tnl/t_vp_build.c +++ b/src/mesa/tnl/t_vp_build.c @@ -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 |