summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-09-10 15:11:17 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2014-09-10 15:11:17 -0400
commitc836bc2b01c1c8642875d86126c1ef2a76dfd359 (patch)
treee1ea8c88d842a0c528855b3714b2b812c13cde34 /common
parent636fedff122dc254ec77ea5504cf8d94acd8b351 (diff)
downloadqtlocation-mapboxgl-c836bc2b01c1c8642875d86126c1ef2a76dfd359.tar.gz
Revert "make context active before clearing buffers"
This reverts commit 636fedff122dc254ec77ea5504cf8d94acd8b351.
Diffstat (limited to 'common')
-rw-r--r--common/headless_view.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp
index 0fce223986..f790d90cec 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -113,8 +113,6 @@ void HeadlessView::resize(int width, int height) {
}
void HeadlessView::clear_buffers() {
- make_active();
-
#if MBGL_USE_CGL
glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);