diff options
author | Dave Airlie <airlied@redhat.com> | 2009-02-04 13:41:05 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-02-04 13:41:05 +1000 |
commit | c370776b02806c6c98d1354e3d60d06311dcfb80 (patch) | |
tree | c040349bbc3484ed2843fe7256385440441b7803 | |
parent | 0bcac04100f01bb79edacb29384fb535c37413f1 (diff) |
radeon: make generate_mipmap static
-rw-r--r-- | src/mesa/drivers/dri/radeon/common_misc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/common_misc.c b/src/mesa/drivers/dri/radeon/common_misc.c index c87c6f1a64..f2b1213cb4 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; |