summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Rahn <rahn@kde.org>2016-10-28 11:42:28 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-11-05 16:49:24 (GMT)
commit3b54783554040eec8df01508ec965dce60f9e6fd (patch)
treecfbcc3f8162d0d96f86fecba4658b959ede13e36
parentc34a13f8f7c050fc2254b7fde0e51b64b7465bd5 (diff)
Change the render target for Marble's QQuickPaintedItem to FBO.
-rw-r--r--src/lib/marble/declarative/MarbleQuickItem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/marble/declarative/MarbleQuickItem.cpp b/src/lib/marble/declarative/MarbleQuickItem.cpp
index 240b9a6..9075786 100644
--- a/src/lib/marble/declarative/MarbleQuickItem.cpp
+++ b/src/lib/marble/declarative/MarbleQuickItem.cpp
@@ -186,6 +186,7 @@ namespace Marble
MarbleQuickItem::MarbleQuickItem(QQuickItem *parent) : QQuickPaintedItem(parent)
,d(new MarbleQuickItemPrivate(this))
{
+ setRenderTarget(QQuickPaintedItem::FramebufferObject);
qRegisterMetaType<Placemark*>("Placemark*");
foreach (AbstractFloatItem *item, d->m_map.floatItems()) {