diff options
author | Dave Airlie <airlied@linux.ie> | 2008-05-09 13:33:06 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2008-05-09 13:33:06 +1000 |
commit | a638676473bd7bf2d47275ed2fd708e5b9d47e0b (patch) | |
tree | 9af844132ac30183b101b2cfefdca3fa07c92594 /src/mesa/main/fbobject.c | |
parent | c50ffc4cb89b67ae59208eb72cdb664c846ba987 (diff) | |
download | external_mesa3d-a638676473bd7bf2d47275ed2fd708e5b9d47e0b.zip external_mesa3d-a638676473bd7bf2d47275ed2fd708e5b9d47e0b.tar.gz external_mesa3d-a638676473bd7bf2d47275ed2fd708e5b9d47e0b.tar.bz2 |
Added ctx->Driver.GenerateMipmap() driver hook
(cherry picked from commit 4c2f3dbca940f289e67248682b84a3516d5a3031)
Conflicts:
src/mesa/drivers/common/driverfuncs.c
Diffstat (limited to 'src/mesa/main/fbobject.c')
-rw-r--r-- | src/mesa/main/fbobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index b015ca6..6cda7de 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -1547,7 +1547,7 @@ _mesa_GenerateMipmapEXT(GLenum target) /* XXX this might not handle cube maps correctly */ _mesa_lock_texture(ctx, texObj); - _mesa_generate_mipmap(ctx, target, texUnit, texObj); + ctx->Driver.GenerateMipmap(ctx, target, texUnit, texObj); _mesa_unlock_texture(ctx, texObj); if (ctx->Driver.UnmapTexture) |