summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-21 15:28:37 +0200
committerPaolo Angelelli <paolo.angelelli@qt.io>2017-03-21 13:30:25 +0000
commit5be371b95cfeb3dc9bbe64e77833709ef8e4495b (patch)
tree821befe93c6c9bd68b58dca773f5f8df555bb75d /src/plugins
parent51052caaa27c639c10f7618a853d0b374720c6ea (diff)
downloadqtlocation-5be371b95cfeb3dc9bbe64e77833709ef8e4495b.tar.gz
Allow clearing before rendering for Mapbox GL plugin
Change-Id: I5a82c663287c35584567280efd9a8dd20a549fcb Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp b/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp
index 4a76ac29..f7d95f63 100644
--- a/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp
+++ b/src/plugins/geoservices/mapboxgl/qsgmapboxglnode.cpp
@@ -81,8 +81,6 @@ void QSGMapboxGLTextureNode::resize(const QSize &size, qreal pixelRatio)
void QSGMapboxGLTextureNode::render(QQuickWindow *window)
{
- window->setClearBeforeRendering(false);
-
QOpenGLFunctions *f = window->openglContext()->functions();
f->glViewport(0, 0, m_fbo->width(), m_fbo->height());