summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-03-22 10:36:48 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-03-22 14:15:50 +0100
commitd20327844cac88b6bf42b201eac35e816a189a8a (patch)
treeb4bda78efe5dc150cdaba301326b0a9cc20abc04 /platform/qt/include/qmapboxgl.hpp
parente488ca702e8f822ba6297a2f3c933ee22ca6ce42 (diff)
downloadqtlocation-mapboxgl-d20327844cac88b6bf42b201eac35e816a189a8a.tar.gz
[qt] Add setFramebufferObject() for correct FBO binding restoration
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r--platform/qt/include/qmapboxgl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp
index 117fce515c..00c5735a93 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -192,6 +192,7 @@ public:
void rotateBy(const QPointF &first, const QPointF &second);
void resize(const QSize &size, const QSize &framebufferSize);
+ void setFramebufferObject(quint32 fbo);
double metersPerPixelAtLatitude(double latitude, double zoom) const;
QMapbox::ProjectedMeters projectedMetersForCoordinate(const QMapbox::Coordinate &) const;