summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsglcontext.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-06-29 19:56:39 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2020-07-01 15:05:09 +0200
commit9ca731ed48c8d67357b6684575f71b9dcbc37259 (patch)
treedcd928c5dd72667c20f5424e546d59b5d353b6b6 /src/plugins/platforms/windows/qwindowsglcontext.cpp
parenta94b4f1b1483b8cace0e34dd979c868e50770dc1 (diff)
In-class initialize QWindowsGLContext members
Change-Id: Icd84e96706d5779656d7311755596110494eacd8 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsglcontext.cpp')
-rw-r--r--src/plugins/platforms/windows/qwindowsglcontext.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/plugins/platforms/windows/qwindowsglcontext.cpp b/src/plugins/platforms/windows/qwindowsglcontext.cpp
index 4b866f16c5..c1921810e7 100644
--- a/src/plugins/platforms/windows/qwindowsglcontext.cpp
+++ b/src/plugins/platforms/windows/qwindowsglcontext.cpp
@@ -1051,14 +1051,7 @@ QOpenGLStaticContext *QOpenGLStaticContext::create(bool softwareRendering)
QWindowsGLContext::QWindowsGLContext(QOpenGLStaticContext *staticContext,
QOpenGLContext *context) :
- m_staticContext(staticContext),
- m_renderingContext(nullptr),
- m_pixelFormat(0),
- m_extensionsUsed(false),
- m_swapInterval(-1),
- m_ownsContext(true),
- m_getGraphicsResetStatus(nullptr),
- m_lost(false)
+ m_staticContext(staticContext)
{
if (!m_staticContext) // Something went very wrong. Stop here, isValid() will return false.
return;