diff options
author | Jesus Fernandez <jesus.fernandez@qt.io> | 2018-07-09 15:13:11 +0200 |
---|---|---|
committer | Jesus Fernandez <Jesus.Fernandez@qt.io> | 2018-07-10 13:34:47 +0000 |
commit | 10f1effdc1c776c24b5314024aa3d04752dd2dfe (patch) | |
tree | 69f1a921315b25308f66e46c0407caade285a144 | |
parent | bdbbafb0f842530757c4e1a13072e0d3a514d1cb (diff) |
Silence warning about padding
Change-Id: I640cd8eeaf468fc004ae2b34c00518d3c4b62866
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
-rw-r--r-- | src/plugins/platforms/webgl/qwebglcontext.cpp | 2 |
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; }; |