st/mesa: fix integer texture border color for some formats (v2)
authorMarek Olšák <maraeo@gmail.com>
Mon, 15 Oct 2012 01:55:23 +0000 (03:55 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 15 Oct 2012 14:04:09 +0000 (16:04 +0200)
commit2bbd307fa638f6d256d020ddf1cff5fc7f735fd2
treedf24d603b4c95e371d5c3ec4164a55607722dc77
parent1ec12c53ba71622dc5dcf62c23972aa539792ccb
st/mesa: fix integer texture border color for some formats (v2)

And the clear color too, though that may be an issue only with GL_RGB if it's
actually RGBA in the driver.

NOTE: This is a candidate for the stable branches.

Reviewed-by: Brian Paul <brianp@vmware.com>
v2: The types of st_translate_color parameters were changed to gl_color_union
    and pipe_color_union as per Brian's comment.
src/mesa/state_tracker/st_atom_sampler.c
src/mesa/state_tracker/st_cb_clear.c
src/mesa/state_tracker/st_format.c
src/mesa/state_tracker/st_format.h