st/mesa: use PIPE_BIND_DISPLAY_TARGET when checking for sRGB capability
authorBrian Paul <brianp@vmware.com>
Mon, 27 Oct 2014 21:03:05 +0000 (15:03 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 29 Oct 2014 00:07:54 +0000 (18:07 -0600)
commit6ad1c1eec104fbedd20335f0ea4afcd5dba63203
tree949fca4dca5acce9938437266fe4c66abe08680a
parent6fcb5520b78cdf1e5013c125501932315a069955
st/mesa: use PIPE_BIND_DISPLAY_TARGET when checking for sRGB capability

When we're checking if the framebuffer is sRGB capable, call
is_format_supported() with the PIPE_BIND_DISPLAY_TARGET flag.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/mesa/state_tracker/st_manager.c