diff options
author | Antti Määttä <antti.maatta@qt.io> | 2016-12-20 10:12:55 +0200 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2016-12-20 09:57:05 +0000 |
commit | 264043ab49ab48543c43920004e0521490ced5ad (patch) | |
tree | 5394223e48aaf0a15ab1de8684c8cba01bd10995 | |
parent | c6258f2a294347283272b40164cf76230899e536 (diff) |
Add RGB8_UNorm to render capture formats
Task-number: QTBUG-57719
Change-Id: I30ae2f8ba5240d1b6958cd3f2a136c53410250eb
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
-rw-r--r-- | src/render/graphicshelpers/graphicscontext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/graphicshelpers/graphicscontext.cpp b/src/render/graphicshelpers/graphicscontext.cpp index bbcca8a6d..21a45dd9b 100644 --- a/src/render/graphicshelpers/graphicscontext.cpp +++ b/src/render/graphicshelpers/graphicscontext.cpp @@ -1651,6 +1651,7 @@ QImage GraphicsContext::readFramebuffer(QSize size) case QAbstractTexture::SRGB8: case QAbstractTexture::RGBFormat: case QAbstractTexture::RGB8U: + case QAbstractTexture::RGB8_UNorm: #ifdef QT_OPENGL_ES_2 format = GL_RGBA; imageFormat = QImage::Format_RGBX8888; |