]> git.sesse.net Git - movit/commitdiff
Fix a bug where PaddingEffect could create assertion errors.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 9 Oct 2013 20:24:56 +0000 (22:24 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 9 Oct 2013 20:24:56 +0000 (22:24 +0200)
The ratinale is explained in the comment, but in short, PaddingEffect
could convert blank to premultiplied alpha without realizing that
it then needed linear light (since premultiplied alpha in our case
is defined as being in linear light). Also added a unit test.

Reported by Christophe Thommeret.


No differences found