mesa/formats: store whether or not a format is sRGB in gl_format_info
authorNanley Chery <nanley.g.chery@intel.com>
Tue, 19 May 2015 16:58:17 +0000 (09:58 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 24 Aug 2015 23:08:01 +0000 (16:08 -0700)
commit8f378d1083179ea9e760688582faf95aea880b94
tree2165a32169788cb3e3fc66527ab11f3c218d0716
parent4f2cdd849738019ce9552ee1d5f8dafce8af3f10
mesa/formats: store whether or not a format is sRGB in gl_format_info

v2: remove extra newline.
v3: use bool instead of GLboolean.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
src/mesa/main/format_info.py
src/mesa/main/formats.c