python: Set PIPE_TEX_MIPFILTER_NONE by default.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 16 Jul 2008 14:26:23 +0000 (23:26 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Wed, 16 Jul 2008 14:26:23 +0000 (23:26 +0900)
src/gallium/state_trackers/python/st_device.c

index 9e625ae2e0f48ef061fa9499b81deadd537db05a..2e53a83eea9fdafb8bb577cc8d87f3a1dec104fd 100644 (file)
@@ -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;