summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-03-24 08:53:16 -0600
committerBrian <brian.paul@tungstengraphics.com>2008-03-24 08:53:16 -0600
commit110b63d00fa0a555a00f5b1560452323517eafe1 (patch)
tree349ed7b090c4e01e49852f8da86065a01b1e227c /src/mesa
parentc8c373514a18d31181cfaeefc23cd06eab3fddd0 (diff)
gallium: pass the filter mode to util_gen_mipmap().
Remove util_gen_mipmap_filter() when no longer used.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_gen_mipmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_gen_mipmap.c b/src/mesa/state_tracker/st_gen_mipmap.c
index 61e1d9621c..a931911227 100644
--- a/src/mesa/state_tracker/st_gen_mipmap.c
+++ b/src/mesa/state_tracker/st_gen_mipmap.c
@@ -92,7 +92,8 @@ st_render_mipmap(struct st_context *st,
return FALSE;
}
- util_gen_mipmap(st->gen_mipmap, pt, face, baseLevel, lastLevel);
+ util_gen_mipmap(st->gen_mipmap, pt, face, baseLevel, lastLevel,
+ PIPE_TEX_FILTER_LINEAR);
/* shaders don't go through CSO yet */
if (st->fp)