diff --git a/src/mesa/state_tracker/st_cb_bitmap.c b/src/mesa/state_tracker/st_cb_bitmap.c index 32fcd8a49df..63d8ac8dde2 100644 --- a/src/mesa/state_tracker/st_cb_bitmap.c +++ b/src/mesa/state_tracker/st_cb_bitmap.c @@ -559,9 +559,9 @@ init_bitmap_state(struct st_context *st) /* init sampler state once */ memset(&st->bitmap.sampler, 0, sizeof(st->bitmap.sampler)); - st->bitmap.sampler.wrap_s = PIPE_TEX_WRAP_CLAMP; - st->bitmap.sampler.wrap_t = PIPE_TEX_WRAP_CLAMP; - st->bitmap.sampler.wrap_r = PIPE_TEX_WRAP_CLAMP; + st->bitmap.sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE; + st->bitmap.sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE; + st->bitmap.sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE; st->bitmap.sampler.min_img_filter = PIPE_TEX_FILTER_NEAREST; st->bitmap.sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE; st->bitmap.sampler.mag_img_filter = PIPE_TEX_FILTER_NEAREST;