Added missing image format
Summary: `QImage::Format_ARGB6666_Premultiplied` was missing from the image format table. This might have caused some bugs later on. See: http://doc.qt.io/qt-5/qimage.html#Format-enum Reviewers: fredrik, #kwin Reviewed By: fredrik Subscribers: cfeck, kwin, #kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D10497icc-effect-5.14.5
parent
cc0325af41
commit
627b11ce49
|
@ -113,6 +113,7 @@ GLTexture::GLTexture(const QImage& image, GLenum target)
|
|||
{ GL_RGB8, GL_BGR, GL_UNSIGNED_SHORT_5_6_5_REV }, // QImage::Format_RGB16
|
||||
{ 0, 0, 0 }, // QImage::Format_ARGB8565_Premultiplied
|
||||
{ 0, 0, 0 }, // QImage::Format_RGB666
|
||||
{ 0, 0, 0 }, // QImage::Format_ARGB6666_Premultiplied
|
||||
{ GL_RGB5, GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV }, // QImage::Format_RGB555
|
||||
{ 0, 0, 0 }, // QImage::Format_ARGB8555_Premultiplied
|
||||
{ GL_RGB8, GL_RGB, GL_UNSIGNED_BYTE }, // QImage::Format_RGB888
|
||||
|
|
Loading…
Reference in New Issue