bump mapnik-packaging, remove unnecessary view.make_active calls

This commit is contained in:
Mike Morris
2014-09-19 16:16:44 -04:00
parent d48e5e7221
commit 65df83ce4c
4 changed files with 9 additions and 13 deletions

View File

@@ -106,10 +106,7 @@ void HeadlessView::resize(int width, int height) {
#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
}
void HeadlessView::clear_buffers() {
@@ -132,6 +129,8 @@ void HeadlessView::clear_buffers() {
glDeleteRenderbuffersEXT(1, &fbo_depth_stencil);
fbo_depth_stencil = 0;
}
make_inactive();
#endif
#if MBGL_USE_GLX