From 18cf796b527e4014599c380e5a43a37a6a11818d Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 24 Jan 2018 21:53:48 +0200 Subject: [qt] Removed unused call --- platform/qt/app/mapwindow.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'platform/qt') 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(); } -- cgit v1.2.1