st/mesa: fix temp texture bindings in st_CopyPixels()
authorChia-I Wu <olvaffe@gmail.com>
Thu, 13 Jun 2013 05:18:15 +0000 (13:18 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 14 Jun 2013 00:46:04 +0000 (08:46 +0800)
commit399548b17fcc679d293920f1088c50004babfc92
treed686f225d62809ed934e739f69da2ce7854f3152
parent5507c11f85dda4fbcdc9b36494551c933471a070
st/mesa: fix temp texture bindings in st_CopyPixels()

The temporary texture should have either PIPE_BIND_RENDER_TARGET or
PIPE_BIND_DEPTH_STENCIL set in addition to PIPE_BIND_SAMPLER_VIEW.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
src/mesa/state_tracker/st_cb_drawpixels.c