summaryrefslogtreecommitdiff
path: root/platform/qt/src/qmapboxgl_renderer_backend.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/qt/src/qmapboxgl_renderer_backend.hpp')
-rw-r--r--platform/qt/src/qmapboxgl_renderer_backend.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/platform/qt/src/qmapboxgl_renderer_backend.hpp b/platform/qt/src/qmapboxgl_renderer_backend.hpp
index fb38556b55..de66b035fc 100644
--- a/platform/qt/src/qmapboxgl_renderer_backend.hpp
+++ b/platform/qt/src/qmapboxgl_renderer_backend.hpp
@@ -14,10 +14,10 @@ public:
// mbgl::RendererBackend implementation
void updateAssumedState() final;
- void bind() final {}
+ void bind() final;
mbgl::Size getFramebufferSize() const final;
- void setFramebufferSize(const mbgl::Size &);
+ void updateFramebuffer(quint32 fbo, const mbgl::Size &);
protected:
mbgl::gl::ProcAddress getExtensionFunctionPointer(const char*) final;
@@ -27,6 +27,7 @@ protected:
void deactivate() final {}
private:
+ quint32 m_fbo = 0;
mbgl::Size m_size = { 0, 0 };
Q_DISABLE_COPY(QMapboxGLRendererBackend)