CopyTexImage: Don't check sRGB vs LINEAR for desktop GL
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 11 Feb 2013 23:22:10 +0000 (15:22 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 12 Feb 2013 19:22:49 +0000 (11:22 -0800)
commit496928a442cec980b534bc5da2523b3632b21b61
tree34679202bf7761dbc245677f9c43037e4524fad3
parent8c80894fb32134129a4b6a9632d66bab126a4848
CopyTexImage: Don't check sRGB vs LINEAR for desktop GL

In OpenGL 4.3, new language was added that would require
this check. But, if this check results in broken applications
then perhaps it will be reversed.

For now, remove this check and re-evaluate when
desktop GL 4.3 is closer.

NOTE: This is a candidate for the 9.1 branch.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/main/teximage.c