From: José Fonseca Date: Wed, 16 Jul 2008 14:26:23 +0000 (+0900) Subject: python: Set PIPE_TEX_MIPFILTER_NONE by default. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1049e65240539228f64a91cc7b55af37bbd0417b;p=mesa.git python: Set PIPE_TEX_MIPFILTER_NONE by default. --- 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;