mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
Neil Roberts
8fd47276b7
cogl_read_pixels: Fix the format used in GLES2
When converting the data in cogl_read_pixels it was using bmp_format instead of the format passed in to the function. bmp_format is the same as the passed in format except that it always has the premult bit set. Therefore the conversion would not handle premultiply correctly. http://bugzilla.clutter-project.org/show_bug.cgi?id=2414
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%