gallium/hud: initialize sampler state
authorBrian Paul <brianp@vmware.com>
Thu, 4 Apr 2013 22:24:40 +0000 (16:24 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 4 Apr 2013 23:00:42 +0000 (17:00 -0600)
commit6211c45186745e58e7722f33562c028d4fe2cee3
tree94430677fc425eb7781824ef57bd762be2595b22
parentedc52a8f280db8d9dc9a04314741319ea8b83e67
gallium/hud: initialize sampler state

The default wrap mode (PIPE_TEX_WRAP_REPEAT) is incompatible with
unnormalized texcoords (at least for softpipe).

v2: use PIPE_TEX_WRAP_CLAMP_TO_EDGE

Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/gallium/auxiliary/hud/hud_context.c