summaryrefslogtreecommitdiff
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-02-08 14:45:58 -0700
committerBen Skeggs <skeggsb@gmail.com>2008-02-15 13:50:33 +1100
commit76dc41765f97b7550d691069fb53e699d5b07d95 (patch)
tree9b496744ecc55a565ca006aafbf3b1c977d3cec5 /src/mesa/main/fbobject.c
parente770d6adeb710fcd16ea6af9764121b8933315c0 (diff)
Remove unused texunit parameter to ctx->Driver.GenerateMipmap()
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r--src/mesa/main/fbobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 13cbd35424..6a8cba4d8a 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1560,7 +1560,7 @@ _mesa_GenerateMipmapEXT(GLenum target)
/* XXX this might not handle cube maps correctly */
_mesa_lock_texture(ctx, texObj);
- ctx->Driver.GenerateMipmap(ctx, target, texUnit, texObj);
+ ctx->Driver.GenerateMipmap(ctx, target, texObj);
_mesa_unlock_texture(ctx, texObj);
}