summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsglcontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsglcontext.cpp')
-rw-r--r--src/plugins/platforms/windows/qwindowsglcontext.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/windows/qwindowsglcontext.cpp b/src/plugins/platforms/windows/qwindowsglcontext.cpp
index e94b4ffdf2..4abccfb416 100644
--- a/src/plugins/platforms/windows/qwindowsglcontext.cpp
+++ b/src/plugins/platforms/windows/qwindowsglcontext.cpp
@@ -778,7 +778,7 @@ QDebug operator<<(QDebug d, const QOpenGLStaticContext &s)
*/
QWindowsGLContext::QWindowsGLContext(const QOpenGLStaticContextPtr &staticContext,
- QGuiGLContext *context) :
+ QOpenGLContext *context) :
m_staticContext(staticContext),
m_context(context),
m_pixelFormat(0), m_extensionsUsed(false)
@@ -843,7 +843,7 @@ QWindowsGLContext::QWindowsGLContext(const QOpenGLStaticContextPtr &staticContex
}
// Create context with sharing, again preferably using ARB.
HGLRC sharingRenderingContext = 0;
- if (const QPlatformGLContext *sc = context->shareHandle())
+ if (const QPlatformOpenGLContext *sc = context->shareHandle())
sharingRenderingContext = static_cast<const QWindowsGLContext *>(sc)->renderingContext();
if (m_extensionsUsed)