diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-12-07 12:02:48 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-12-07 12:18:09 (GMT) |
commit | 532115bcaa370af827a5cbad017b272842c5aacf (patch) | |
tree | 343c025850cd3b71e80d59a67be3d93ffc3d24c8 /tests/auto/qpixmap | |
parent | 8f7de974b34b6fc6c0c15dbf4cdc35e5722e2196 (diff) | |
download | Qt-532115bcaa370af827a5cbad017b272842c5aacf.zip Qt-532115bcaa370af827a5cbad017b272842c5aacf.tar.gz Qt-532115bcaa370af827a5cbad017b272842c5aacf.tar.bz2 |
Fix text disappearing on GL when RGB-path is taken (no transformation)
When there is no transformation on a glyph in the GL texture glyph
cache, it will take the RGB code path to support subpixel antialiasing.
In this code path we would ask glTextImage2D() to convert from a
GL_ALPHA buffer to an internal format of GL_RGBA. This is not supported
on OpenGL ES 2, and would cause missing text for some drivers.
The change also fixes a typo in an #ifdef.
Task-number: QTBUG-15789
Reviewed-by: Kim
Diffstat (limited to 'tests/auto/qpixmap')
0 files changed, 0 insertions, 0 deletions