summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-16 04:27:30 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-10-16 04:27:30 -0700
commit97986f603f5af6b12deb4cdb4e91cd5035457c7f (patch)
tree8654c1863c74ddc563b2a4c8cb9b169288db7deb
parent4bc56eac24d399e5c58a7f9a936fe85a71180915 (diff)
downloadqtlocation-mapboxgl-97986f603f5af6b12deb4cdb4e91cd5035457c7f.tar.gz
we don't need a root_fbo function anymore
[skip ci]
-rw-r--r--common/headless_view.cpp4
-rw-r--r--common/headless_view.hpp1
-rw-r--r--include/mbgl/map/view.hpp6
3 files changed, 0 insertions, 11 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp
index 6a5a2dc00b..d1d13db5f8 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -274,9 +274,5 @@ void HeadlessView::make_inactive() {
void HeadlessView::swap() {}
-unsigned int HeadlessView::root_fbo() {
- return fbo;
-}
-
}
diff --git a/common/headless_view.hpp b/common/headless_view.hpp
index 6e4ddcd9e6..c0baddb884 100644
--- a/common/headless_view.hpp
+++ b/common/headless_view.hpp
@@ -34,7 +34,6 @@ public:
void make_active();
void make_inactive();
void swap();
- unsigned int root_fbo();
private:
void clear_buffers();
diff --git a/include/mbgl/map/view.hpp b/include/mbgl/map/view.hpp
index 395a05d435..b567cd424f 100644
--- a/include/mbgl/map/view.hpp
+++ b/include/mbgl/map/view.hpp
@@ -39,12 +39,6 @@ public:
// thread. This is called once just before the rendering thread terminates.
virtual void make_inactive() = 0;
- // Returns the base framebuffer object, if any, and 0 if using the system
- // provided framebuffer.
- virtual unsigned int root_fbo() {
- return 0;
- }
-
virtual void notify() = 0;
// Notifies a watcher of map x/y/scale/rotation changes.