mutter/cogl/cogl/driver
Carlos Garnacho 35388fb33c cogl: Use pixel_format_to_gl_with_target on bitmap uploading paths
We already do have a texture with an internal format in these paths,
so we should check the required format according to it.

This fixes CoglAtlasTexture (and CoglPangoRenderer indirectly), as
it forces a RGBA format on its texture, but pixel_format_to_gl()
anyway assumed swizzling is performed on the texture, while it is
not the case.

https://bugzilla.gnome.org/show_bug.cgi?id=779234
2017-03-07 13:40:06 +01:00
..
gl cogl: Use pixel_format_to_gl_with_target on bitmap uploading paths 2017-03-07 13:40:06 +01:00
nop cogl: Add pixel_format_to_gl_with_target driver vfunc 2017-03-07 13:40:06 +01:00