st/mesa: allow rendering to sRGB textures if EXT_fb_srgb is unsupported
authorMarek Olšák <maraeo@gmail.com>
Thu, 10 Feb 2011 01:16:58 +0000 (02:16 +0100)
committerMarek Olšák <maraeo@gmail.com>
Fri, 11 Feb 2011 00:07:21 +0000 (01:07 +0100)
commitc0beaf6e6d5764531a4cb21d0d0a9a1fd09affee
tree6795eb2a79122f789cad8772945d1f1d5afeace8
parent4c1dc1c4d772b06578567f14419fdd4f27843825
st/mesa: allow rendering to sRGB textures if EXT_fb_srgb is unsupported

In this case, we always use the corresponding linear format in create_surface,
therefore we should check for linear format support as well.
src/mesa/state_tracker/st_cb_fbo.c