summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsglcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsglcontext.h')
-rw-r--r--src/plugins/platforms/windows/qwindowsglcontext.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/platforms/windows/qwindowsglcontext.h b/src/plugins/platforms/windows/qwindowsglcontext.h
index c5edd8978f..0bf8ffbbc5 100644
--- a/src/plugins/platforms/windows/qwindowsglcontext.h
+++ b/src/plugins/platforms/windows/qwindowsglcontext.h
@@ -45,8 +45,8 @@
#include "array.h"
#include "qtwindows_additional.h"
-#include <QtGui/QPlatformGLContext>
-#include <QtGui/QGuiGLContext>
+#include <QtGui/QPlatformOpenGLContext>
+#include <QtGui/QOpenGLContext>
#include <QtCore/QSharedPointer>
QT_BEGIN_NAMESPACE
@@ -125,13 +125,13 @@ public:
QDebug operator<<(QDebug d, const QOpenGLStaticContext &);
-class QWindowsGLContext : public QPlatformGLContext
+class QWindowsGLContext : public QPlatformOpenGLContext
{
public:
typedef QSharedPointer<QOpenGLStaticContext> QOpenGLStaticContextPtr;
explicit QWindowsGLContext(const QOpenGLStaticContextPtr &staticContext,
- QGuiGLContext *context);
+ QOpenGLContext *context);
virtual ~QWindowsGLContext();
bool isValid() const { return m_renderingContext; }
virtual QSurfaceFormat format() const { return m_obtainedFormat; }
@@ -151,7 +151,7 @@ private:
inline void releaseDCs();
const QOpenGLStaticContextPtr m_staticContext;
- QGuiGLContext *m_context;
+ QOpenGLContext *m_context;
QSurfaceFormat m_obtainedFormat;
HGLRC m_renderingContext;
Array<QOpenGLContextData> m_windowContexts;