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 f790d90cec..0fce223986 100644 --- a/common/headless_view.cpp +++ b/common/headless_view.cpp @@ -113,6 +113,8 @@ void HeadlessView::resize(int width, int height) { } void HeadlessView::clear_buffers() { + make_active(); + #if MBGL_USE_CGL glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); |