make view active/inactive around Map::setup, don't leave active after view.resize()
This commit is contained in:
@@ -107,13 +107,13 @@ void HeadlessView::resize(uint16_t width, uint16_t height, float pixelRatio) {
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
make_inactive();
|
||||
#endif
|
||||
|
||||
#if MBGL_USE_GLX
|
||||
x_pixmap = XCreatePixmap(x_display, DefaultRootWindow(x_display), width, height, 32);
|
||||
glx_pixmap = glXCreateGLXPixmap(x_display, x_info, x_pixmap);
|
||||
|
||||
make_active();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user