projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e24a11
)
tnl: remove unused var to silence warning
author
Brian Paul
<brianp@vmware.com>
Wed, 29 Mar 2017 16:50:00 +0000
(10:50 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 31 Mar 2017 19:30:54 +0000
(13:30 -0600)
Trivial.
src/mesa/tnl/t_vp_build.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vp_build.c
b/src/mesa/tnl/t_vp_build.c
index 3d8210cec25739fa43eac43a7f372985fccc1143..7de2105d32679be6cbc1aa3acfa3d77527498806 100644
(file)
--- 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