summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2013-09-19 10:28:52 -0400
committerRob Clark <[email protected]>2013-09-19 11:47:40 -0400
commit7dab097a515c019afa8e1e84af497e5e1e85be5d (patch)
tree8c6af23bb6c4272027df03df0043496eef3178cd
parent575a6e7ec57dc70f96e2618748ed07c7882cf8c1 (diff)
freedreno/a3xx: fix typo mixup w/ mipfilter
Signed-off-by: Rob Clark <[email protected]>
-rw-r--r--src/gallium/drivers/freedreno/a3xx/fd3_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_texture.c b/src/gallium/drivers/freedreno/a3xx/fd3_texture.c
index a44ac46beb1..88b3f8eaab5 100644
--- a/src/gallium/drivers/freedreno/a3xx/fd3_texture.c
+++ b/src/gallium/drivers/freedreno/a3xx/fd3_texture.c
@@ -85,7 +85,7 @@ fd3_sampler_state_create(struct pipe_context *pctx,
if (!so)
return NULL;
- if (cso->min_mip_filter == PIPE_TEX_MIPFILTER_NEAREST)
+ if (cso->min_mip_filter == PIPE_TEX_MIPFILTER_LINEAR)
miplinear = true;
so->base = *cso;