From 97986f603f5af6b12deb4cdb4e91cd5035457c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Thu, 16 Oct 2014 04:27:30 -0700 Subject: [PATCH] we don't need a root_fbo function anymore [skip ci] --- common/headless_view.cpp | 4 ---- common/headless_view.hpp | 1 - include/mbgl/map/view.hpp | 6 ------ 3 files changed, 11 deletions(-) diff --git a/common/headless_view.cpp b/common/headless_view.cpp index 6a5a2dc00..d1d13db5f 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 6e4ddcd9e..c0baddb88 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 395a05d43..b567cd424 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.