Commit db13d9b8 authored by Gunnar Sletta's avatar Gunnar Sletta Committed by The Qt Project
Browse files

Fix upload of glyphs when using RGB32 masks on OpenGL ES


OpenGL ES doesn't allow internal format to be different
from external format, so always do the conversion from
BGRA -> RGBA. We are anyway iterating over all the
pixels so the performance impact of this should be
minimal.

Change-Id: Ie891665ad66e31692b69db02d34be8d303a7d631
Reviewed-by: default avatarAndy Shaw <andy.shaw@digia.com>
Reviewed-by: default avatarEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
parent cf3e4352
Branches
Tags
Showing with 10 additions and 16 deletions
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