summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms
diff options
context:
space:
mode:
authorBogDan Vatra <bogdan@kdab.com>2017-04-10 09:52:16 +0300
committerBogDan Vatra <bogdan@kdab.com>2017-04-10 10:46:43 +0000
commit2099709a721e2bc72350a02757099df6629475ca (patch)
treed88fe6fa9ffe307b8f639484c3f2dc4df04cf3a3 /src/plugins/platforms
parent9d1203bf02abec8b5ab73c4c8a81eb4627336ad8 (diff)
Fix build: Remove unused variable
Change-Id: Ib5e7782e23eb1ff976caedd167d3df8b857d9883 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r--src/plugins/platforms/android/qandroidplatformopenglcontext.cpp5
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)