diff options
author | Liang Qi <liang.qi@theqtcompany.com> | 2015-10-13 08:40:41 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2015-10-13 11:14:37 +0000 |
commit | 07800a97277a9be8cf35f8427c6c74e951d7a68d (patch) | |
tree | a93128d7578fdad30f88e528a3e37912f0b0612a /src/plugins/platforms/winrt/qwinrtscreen.cpp | |
parent | 0872156559dd290e8e940d22a89cb95a46ef0cf6 (diff) | |
parent | 57fead6100c69128ef6cc483b78ba91e477e8851 (diff) |
Merge "Merge remote-tracking branch 'origin/5.5.1' into 5.5" into refs/staging/5.5
Diffstat (limited to 'src/plugins/platforms/winrt/qwinrtscreen.cpp')
-rw-r--r-- | src/plugins/platforms/winrt/qwinrtscreen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/winrt/qwinrtscreen.cpp b/src/plugins/platforms/winrt/qwinrtscreen.cpp index 1d36bb31f6..8962332208 100644 --- a/src/plugins/platforms/winrt/qwinrtscreen.cpp +++ b/src/plugins/platforms/winrt/qwinrtscreen.cpp @@ -1115,7 +1115,7 @@ HRESULT QWinRTScreen::onSuspended(IInspectable *, ISuspendingEventArgs *) #ifndef Q_OS_WINPHONE Q_D(QWinRTScreen); ComPtr<ID3D11Device> d3dDevice; - const EGLBoolean ok = eglQuerySurfacePointerANGLE(d->eglDisplay, EGL_NO_SURFACE, EGL_DEVICE_EXT, (void **)d3dDevice.GetAddressOf()); + const EGLBoolean ok = eglQuerySurfacePointerANGLE(d->eglDisplay, d->eglSurface, EGL_DEVICE_EXT, (void **)d3dDevice.GetAddressOf()); if (ok && d3dDevice) { ComPtr<IDXGIDevice3> dxgiDevice; if (SUCCEEDED(d3dDevice.As(&dxgiDevice))) |