st/wgl: set PIPE_BIND_SAMPLER_VIEW for window color buffers
authorBrian Paul <brianp@vmware.com>
Tue, 16 Jun 2015 21:32:46 +0000 (15:32 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 19 Jun 2015 14:45:00 +0000 (08:45 -0600)
commit528bd94432b20becc1f436da75f7a102416dabeb
tree5a4db267c263c2464d7b97dbf16fc4bd5484fc71
parent9405c1b3b0b207409931166a608276198a068cb8
st/wgl: set PIPE_BIND_SAMPLER_VIEW for window color buffers

To allow sampling from the surface for things like glCopyPixels
or glCopyTexSubImage.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/state_trackers/wgl/stw_st.c