summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-07-16 23:26:23 +0900
committerJosé Fonseca <[email protected]>2008-07-16 23:26:23 +0900
commit1049e65240539228f64a91cc7b55af37bbd0417b (patch)
tree0f9e7e969b45c86e9fbe8a054156e565d1c2baa5 /src/gallium/state_trackers
parent32fe752d31a07293ad68cccb2fffbbfef32ab449 (diff)
python: Set PIPE_TEX_MIPFILTER_NONE by default.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/python/st_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/python/st_device.c b/src/gallium/state_trackers/python/st_device.c
index 9e625ae2e0f..2e53a83eea9 100644
--- a/src/gallium/state_trackers/python/st_device.c
+++ b/src/gallium/state_trackers/python/st_device.c
@@ -192,7 +192,7 @@ st_context_create(struct st_device *st_dev)
sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
- sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
+ sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST;
sampler.min_img_filter = PIPE_TEX_MIPFILTER_NEAREST;
sampler.mag_img_filter = PIPE_TEX_MIPFILTER_NEAREST;
sampler.normalized_coords = 1;