Skip to content
Commit 35388fb3 authored by Carlos Garnacho's avatar Carlos Garnacho
Browse files

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
parent aa5738c7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment