mesa: Make _mesa_generate_mipmap_level static

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14098>
This commit is contained in:
Adam Jackson 2021-12-06 21:49:18 -05:00 committed by Marge Bot
parent 3731d21c68
commit d9f0991744
2 changed files with 1 additions and 12 deletions

View file

@ -1720,7 +1720,7 @@ make_3d_mipmap(GLenum datatype, GLuint comps, GLint border,
* \param srcRowStride stride between source rows, in bytes
* \param dstRowStride stride between destination rows, in bytes
*/
void
static void
_mesa_generate_mipmap_level(GLenum target,
GLenum datatype, GLuint comps,
GLint border,

View file

@ -36,17 +36,6 @@ _mesa_compute_num_levels(struct gl_context *ctx,
struct gl_texture_object *texObj,
GLenum target);
extern void
_mesa_generate_mipmap_level(GLenum target,
GLenum datatype, GLuint comps,
GLint border,
GLint srcWidth, GLint srcHeight, GLint srcDepth,
const GLubyte **srcData,
GLint srcRowStride,
GLint dstWidth, GLint dstHeight, GLint dstDepth,
GLubyte **dstData,
GLint dstRowStride);
void
_mesa_prepare_mipmap_levels(struct gl_context *ctx,
struct gl_texture_object *texObj,