Fix alpha handling with sRGB textures.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Jan 2013 11:50:55 +0000 (12:50 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 13 Jan 2013 11:50:55 +0000 (12:50 +0100)
commit36ae69017f10987948009bf6f602da5f94e4f780
treecb7ef0dee92eed422de95f84f04fa823f0089758
parent9c6e299e39c5ce057739da823620c06e8f4230f3
Fix alpha handling with sRGB textures.

OverlayEffect needs working alpha, so this cropped up. We don't
really have full alpha handling everywhere, but this is a good
start; I added some tests here and there to tighten it up a bit.
flat_input.cpp
flat_input_test.cpp
gamma_expansion_effect_test.cpp