diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/headless_view.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp index c2e402c0b6..8ea1b13709 100644 --- a/common/headless_view.cpp +++ b/common/headless_view.cpp @@ -114,6 +114,8 @@ void HeadlessView::resize(int width, int height) { void HeadlessView::clear_buffers() { #if MBGL_USE_CGL + make_active(); + glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); if (fbo) { |