diff options
Diffstat (limited to 'src/plugins/platforms/webgl/qwebglcontext.cpp')
-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; }; |