summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-07-14 03:00:54 +0200
committerQt Forward Merge Bot <qt_forward_merge_bot@qt-project.org>2018-07-14 03:00:54 +0200
commit3d6a360730a8d6563e35dfee65ce4ef7b7416ab2 (patch)
treebbb0b1f9238c0f7f20219b08b496cebd4a5fe2f6
parentc6dd09e3e91c3f38cf47bafb263d3b270c47630b (diff)
parent10f1effdc1c776c24b5314024aa3d04752dd2dfe (diff)
Merge remote-tracking branch 'origin/5.11' into dev
-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 397e26f..cb56182 100644
--- a/src/plugins/platforms/webgl/qwebglcontext.cpp
+++ b/src/plugins/platforms/webgl/qwebglcontext.cpp
@@ -57,9 +57,9 @@ static Q_LOGGING_CATEGORY(lc, "qt.qpa.webgl.context")
class QWebGLContextPrivate
{
public:
- int id = -1;
static QAtomicInt nextId;
static QSet<int> waitingIds;
+ union { int id = -1; qintptr padded; };
QPlatformSurface *currentSurface = nullptr;
QSurfaceFormat surfaceFormat;
};