Revert "make context active before clearing buffers"
This reverts commit 636fedff12.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user