rem: glgfx_bitmap_unlock(bitmap, 0, 0, 0, 0);
add: glgfx_bitmap_unlock_a(bitmap, NULL);
context: void glgfx_bitmap_destroy(struct glgfx_bitmap* bitmap) {  if (bitmap == NULL) {    return;  }  pthread_mutex_lock(&glgfx_mutex);  glgfx_bitmap_unlock(bitmap, 0, 0, 0, 0);  if (glgfx_context_getcurrent()->have_GL_ARB_pixel_buffer_object) {    glDeleteBuffersARB(1, &bitmap->pbo);  }  else {    free(bitmap->buffer);  }  glDeleteTextures(1, &bitmap->texture);  free(bitmap);  pthread_mutex_unlock(&glgfx_mutex);}