commit | a88991bdc8154bda8a805755dd82cb71c93b35df | [log] [tgz] |
---|---|---|
author | Pierre Ossman <ossman@cendio.se> | Fri Apr 28 11:40:02 2017 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Fri Apr 28 12:29:37 2017 +0200 |
tree | f5880c7bb325830e6c9e0af288620aface0f232e | |
parent | 1669a2d5a15aa39313cb74eff4f62dfe14d136cd [diff] |
Filter out alpha channel for normal draw() operation macOS actually uses the alpha channel on windows, so we can get visual artifacts if we feed it bogus alpha data. This filtering unfortunately causes some CPU usage, but it's necessary until we can make sure the framebuffer always contains proper 0xff for alpha.