From: Dave Airlie Date: Wed, 4 Feb 2009 03:41:05 +0000 (+1000) Subject: radeon: make generate_mipmap static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c370776b02806c6c98d1354e3d60d06311dcfb80;p=mesa.git radeon: make generate_mipmap static --- diff --git a/src/mesa/drivers/dri/radeon/common_misc.c b/src/mesa/drivers/dri/radeon/common_misc.c index c87c6f1a648..f2b1213cb42 100644 --- a/src/mesa/drivers/dri/radeon/common_misc.c +++ b/src/mesa/drivers/dri/radeon/common_misc.c @@ -1510,8 +1510,8 @@ GLuint radeon_face_for_target(GLenum target) * This relies on internal details of _mesa_generate_mipmap, in particular * the fact that the memory for recreated texture images is always freed. */ -void radeon_generate_mipmap(GLcontext *ctx, GLenum target, - struct gl_texture_object *texObj) +static void radeon_generate_mipmap(GLcontext *ctx, GLenum target, + struct gl_texture_object *texObj) { radeonTexObj* t = radeon_tex_obj(texObj); GLuint nr_faces = (t->base.Target == GL_TEXTURE_CUBE_MAP) ? 6 : 1;