From 6e28e8441b698c3397c2c78125c877f2e9867cb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 22 Aug 2011 10:49:28 +0200 Subject: Copy core GL functionality to QtGui with QGL -> QOpenGL naming. Change-Id: Ibc989afa4a30dd184d41d1a1cd89f97196e48855 Reviewed-on: http://codereview.qt.nokia.com/3710 Reviewed-by: Gunnar Sletta --- src/plugins/platforms/windows/qwindowsglcontext.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/plugins/platforms/windows/qwindowsglcontext.h') 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 -#include +#include +#include #include 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 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 m_windowContexts; -- cgit v1.2.3