diff options
Diffstat (limited to 'src/mesa/main/genmipmap.c')
-rw-r--r-- | src/mesa/main/genmipmap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/genmipmap.c b/src/mesa/main/genmipmap.c index 6021c026f53..be49136aa89 100644 --- a/src/mesa/main/genmipmap.c +++ b/src/mesa/main/genmipmap.c @@ -107,10 +107,10 @@ _mesa_is_valid_generate_texture_mipmap_internalformat(struct gl_context *ctx, * Implements glGenerateMipmap and glGenerateTextureMipmap. * Generates all the mipmap levels below the base level. */ -void -_mesa_generate_texture_mipmap(struct gl_context *ctx, - struct gl_texture_object *texObj, GLenum target, - bool dsa) +static void +generate_texture_mipmap(struct gl_context *ctx, + struct gl_texture_object *texObj, GLenum target, + bool dsa) { struct gl_texture_image *srcImage; const char *suffix = dsa ? "Texture" : ""; @@ -187,7 +187,7 @@ _mesa_GenerateMipmap(GLenum target) if (!texObj) return; - _mesa_generate_texture_mipmap(ctx, texObj, target, false); + generate_texture_mipmap(ctx, texObj, target, false); } /** @@ -209,5 +209,5 @@ _mesa_GenerateTextureMipmap(GLuint texture) return; } - _mesa_generate_texture_mipmap(ctx, texObj, texObj->Target, true); + generate_texture_mipmap(ctx, texObj, texObj->Target, true); } |