projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bcac04
)
radeon: make generate_mipmap static
author
Dave Airlie
<airlied@redhat.com>
Wed, 4 Feb 2009 03:41:05 +0000
(13:41 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 4 Feb 2009 03:41:05 +0000
(13:41 +1000)
src/mesa/drivers/dri/radeon/common_misc.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/common_misc.c
b/src/mesa/drivers/dri/radeon/common_misc.c
index c87c6f1a6485aa85197c23bc78ecda7385ca02be..f2b1213cb42597503d181ad2101d9f1f26a8ac5d 100644
(file)
--- 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;