Add an assert saying that if an input has premultiplied alpha, it must also have...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 16 Jan 2013 19:45:14 +0000 (20:45 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 16 Jan 2013 19:45:14 +0000 (20:45 +0100)
commit7221906173f1cf1ce6913cbe9d62d5ca11e9ee0d
treeb6e0a2d4f3821d9208d7da0f64d40995a66fc527
parentba6838ec8b6fb972ccda17b3e6be6e793a4157a3
Add an assert saying that if an input has premultiplied alpha, it must also have linear gamma.

This holds true for nodes in general, but I'm not sure enough about all sorts of intermediate
states that could cause this to be temporarily untrue for other nodes.
effect_chain.cpp