aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-02-08 14:45:58 -0700
committerBrian <[email protected]>2008-02-08 15:13:48 -0700
commitc3395f4473c8fdf75d04c0dd72e687bc8d8127a7 (patch)
treecc9d8136374bfb9afa694c4e5a43d29c7ac545f2 /src/mesa/main/fbobject.c
parent21e9396e650d23084bfeae0d2670b5ffcf731a85 (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 13cbd354243..6a8cba4d8a9 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);
}