diff options
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsgdiintegration.cpp')
| -rw-r--r-- | src/plugins/platforms/windows/qwindowsgdiintegration.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/platforms/windows/qwindowsgdiintegration.cpp b/src/plugins/platforms/windows/qwindowsgdiintegration.cpp index 3b25840e16e..bb24060dbea 100644 --- a/src/plugins/platforms/windows/qwindowsgdiintegration.cpp +++ b/src/plugins/platforms/windows/qwindowsgdiintegration.cpp @@ -77,11 +77,7 @@ QPlatformPixmap *QWindowsGdiIntegration::createPlatformPixmap(QPlatformPixmap::P QPlatformBackingStore *QWindowsGdiIntegration::createPlatformBackingStore(QWindow *window) const { - auto *backingStore = new QWindowsBackingStore(window); -#ifndef QT_NO_OPENGL - backingStore->setOpenGLSupport(new QPlatformBackingStoreOpenGLSupport(backingStore)); -#endif - return backingStore; + return new QWindowsBackingStore(window); } QT_END_NAMESPACE |
