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-01-26 22:22:57 +0200
commit60e802b2c68960b21e0bd98e8afe865e72f7df8a (patch)
tree490ee61eae1a7cc98a27e5f5aba4f57be8912216
parent32f98c7eb22303eb26c6450397c6307ac3515165 (diff)
downloadqtlocation-mapboxgl-60e802b2c68960b21e0bd98e8afe865e72f7df8a.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();
}