radeon: make generate_mipmap static
authorDave Airlie <airlied@redhat.com>
Wed, 4 Feb 2009 03:41:05 +0000 (13:41 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 4 Feb 2009 03:41:05 +0000 (13:41 +1000)
src/mesa/drivers/dri/radeon/common_misc.c

index c87c6f1a6485aa85197c23bc78ecda7385ca02be..f2b1213cb42597503d181ad2101d9f1f26a8ac5d 100644 (file)
@@ -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;