summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2018-01-24 21:53:48 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2018-02-09 20:28:54 +0200
commit18cf796b527e4014599c380e5a43a37a6a11818d (patch)
treead9a2638892867a2723662234ffecf56f882609d
parentfb65d258314cef797afacad9359f8ce1ae461a94 (diff)
downloadqtlocation-mapboxgl-18cf796b527e4014599c380e5a43a37a6a11818d.tar.gz
[qt] Removed unused call
-rw-r--r--platform/qt/app/mapwindow.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/platform/qt/app/mapwindow.cpp b/platform/qt/app/mapwindow.cpp
index fc346cdcde..89047bd948 100644
--- a/platform/qt/app/mapwindow.cpp
+++ b/platform/qt/app/mapwindow.cpp
@@ -443,9 +443,5 @@ void MapWindow::paintGL()
{
m_frameDraws++;
m_map->resize(size(), size() * pixelRatio());
-#if QT_VERSION >= 0x050400
- // When we're using QOpenGLWidget, we need to tell Mapbox GL about the framebuffer we're using.
- m_map->setFramebufferObject(defaultFramebufferObject());
-#endif
m_map->render();
}