X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fmipmap.h;h=d11c7fada37b994cf13526912780a7859aeba8b9;hb=34953f8907fddd0d2b27d276580a1d3223047987;hp=ee91df006dc2a5b96b06705736b3f79bd4b1854c;hpb=bb5947de995d6425a681e591ed9566688772a3ca;p=mesa.git diff --git a/src/mesa/main/mipmap.h b/src/mesa/main/mipmap.h index ee91df006dc..d11c7fada37 100644 --- a/src/mesa/main/mipmap.h +++ b/src/mesa/main/mipmap.h @@ -40,12 +40,10 @@ _mesa_generate_mipmap_level(GLenum target, GLubyte **dstData, GLint dstRowStride); - -extern GLboolean -_mesa_prepare_mipmap_level(struct gl_context *ctx, - struct gl_texture_object *texObj, GLuint level, - GLsizei width, GLsizei height, GLsizei depth, - GLsizei border, GLenum intFormat, gl_format format); +void +_mesa_prepare_mipmap_levels(struct gl_context *ctx, + struct gl_texture_object *texObj, + unsigned baseLevel, unsigned maxLevel); extern void _mesa_generate_mipmap(struct gl_context *ctx, GLenum target,