summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/webgl/qwebglcontext.cpp
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-12-17 03:03:34 +0100
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2019-12-17 03:03:34 +0100
commitaf14eb27c49e88721bd559245480d58c14ca9224 (patch)
tree253d56a841b1db60c5edd0c361bd141586369f88 /src/plugins/platforms/webgl/qwebglcontext.cpp
parent9c3df6579763e2bd45e51a1f5e7d276947b85f6f (diff)
parent045eeb8c929eeca306152670d001f1c6aff1ffb4 (diff)
Merge remote-tracking branch 'origin/5.15' into dev
Diffstat (limited to 'src/plugins/platforms/webgl/qwebglcontext.cpp')
-rw-r--r--src/plugins/platforms/webgl/qwebglcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/qwebglcontext.cpp b/src/plugins/platforms/webgl/qwebglcontext.cpp
index c1ee009..5857883 100644
--- a/src/plugins/platforms/webgl/qwebglcontext.cpp
+++ b/src/plugins/platforms/webgl/qwebglcontext.cpp
@@ -147,7 +147,7 @@ inline int imageSize(GLsizei width, GLsizei height, GLenum format, GLenum type,
{ GL_RGBA, GL_UNSIGNED_SHORT_5_5_5_1, 2 },
{ GL_RGB, GL_UNSIGNED_BYTE, 3 },
{ GL_RGB, GL_UNSIGNED_SHORT_5_6_5, 2 },
- { GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, 1 },
+ { GL_LUMINANCE_ALPHA, GL_UNSIGNED_BYTE, 2 },
{ GL_LUMINANCE, GL_UNSIGNED_BYTE, 1 },
{ GL_ALPHA, GL_UNSIGNED_BYTE, 1 },