Added ctx->Driver.GenerateMipmap() driver hook

This commit is contained in:
Brian
2008-02-05 18:15:03 -07:00
parent afc5498337
commit 4c2f3dbca9
4 changed files with 34 additions and 25 deletions

View File

@@ -1560,7 +1560,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);
}