X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Fgenmipmap.h;h=40b7f3636aa29508d047b91720b5f6c3a43b0a0d;hb=78a391ed8311fc5215347f8775bf0aa29568b78d;hp=843eeace30a544325298946b66f4ad537ac0ddf2;hpb=06852f4b7a1ab9ea724bd7708662b2e6549aa98e;p=mesa.git diff --git a/src/mesa/main/genmipmap.h b/src/mesa/main/genmipmap.h index 843eeace30a..40b7f3636aa 100644 --- a/src/mesa/main/genmipmap.h +++ b/src/mesa/main/genmipmap.h @@ -35,6 +35,9 @@ _mesa_generate_texture_mipmap(struct gl_context *ctx, bool _mesa_is_valid_generate_texture_mipmap_target(struct gl_context *ctx, GLenum target); +bool +_mesa_is_valid_generate_texture_mipmap_internalformat(struct gl_context *ctx, + GLenum internalformat); extern void GLAPIENTRY _mesa_GenerateMipmap(GLenum target);