diff options
author | BogDan Vatra <bogdan@kdab.com> | 2017-04-10 09:52:16 +0300 |
---|---|---|
committer | BogDan Vatra <bogdan@kdab.com> | 2017-04-10 10:46:43 +0000 |
commit | 2099709a721e2bc72350a02757099df6629475ca (patch) | |
tree | d88fe6fa9ffe307b8f639484c3f2dc4df04cf3a3 | |
parent | 9d1203bf02abec8b5ab73c4c8a81eb4627336ad8 (diff) | |
download | qtbase-2099709a721e2bc72350a02757099df6629475ca.tar.gz |
Fix build: Remove unused variable
Change-Id: Ib5e7782e23eb1ff976caedd167d3df8b857d9883
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
-rw-r--r-- | src/plugins/platforms/android/qandroidplatformopenglcontext.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/platforms/android/qandroidplatformopenglcontext.cpp b/src/plugins/platforms/android/qandroidplatformopenglcontext.cpp index 6f979f614c..bef6bb9d42 100644 --- a/src/plugins/platforms/android/qandroidplatformopenglcontext.cpp +++ b/src/plugins/platforms/android/qandroidplatformopenglcontext.cpp @@ -67,10 +67,7 @@ void QAndroidPlatformOpenGLContext::swapBuffers(QPlatformSurface *surface) bool QAndroidPlatformOpenGLContext::makeCurrent(QPlatformSurface *surface) { - bool ret = QEGLPlatformContext::makeCurrent(surface); - QOpenGLContextPrivate *ctx_d = QOpenGLContextPrivate::get(context()); - - return ret; + return QEGLPlatformContext::makeCurrent(surface); } EGLSurface QAndroidPlatformOpenGLContext::eglSurfaceForPlatformSurface(QPlatformSurface *surface) |