st/mesa: only mark framebuffer as sRGB capable if Mesa supports the format
authorBrian Paul <brianp@vmware.com>
Fri, 7 Mar 2014 17:53:03 +0000 (10:53 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 7 Mar 2014 22:43:36 +0000 (15:43 -0700)
commit9b322d540ae3f6b569465a22bef8b93c49b365d4
treef2519036b34645146048789a2283daf4f6342a88
parent6974eb907600b9d0176d3158ff0fd30ac3e56a55
st/mesa: only mark framebuffer as sRGB capable if Mesa supports the format

Reviewed-by: José Fonseca <jfonseca@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/state_tracker/st_manager.c