summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-10-16 04:26:50 -0700
committerKonstantin Käfer <mail@kkaefer.com>2014-10-16 04:26:50 -0700
commit4bc56eac24d399e5c58a7f9a936fe85a71180915 (patch)
treeeec6366db02d86d729ca5fe7bc0e9a10ccdcaa70 /common
parent8b08772d33ae37f05cf0ed4c5ce5c884cb8fab2b (diff)
downloadqtlocation-mapboxgl-4bc56eac24d399e5c58a7f9a936fe85a71180915.tar.gz
we now always use the fbo
[skip ci]
Diffstat (limited to 'common')
-rw-r--r--common/headless_view.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp
index f746d97c36..6a5a2dc00b 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -275,11 +275,7 @@ void HeadlessView::make_inactive() {
void HeadlessView::swap() {}
unsigned int HeadlessView::root_fbo() {
-#if MBGL_USE_CGL
return fbo;
-#endif
-
- return 0;
}
}