Added ctx->Driver.GenerateMipmap() driver hook
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user