|
|
@ -406,8 +406,7 @@ static void wlr_surface_commit_pending(struct wlr_surface *surface) {
|
|
|
|
wlr_surface_move_state(surface, surface->pending, surface->current);
|
|
|
|
wlr_surface_move_state(surface, surface->pending, surface->current);
|
|
|
|
|
|
|
|
|
|
|
|
if (null_buffer_commit) {
|
|
|
|
if (null_buffer_commit) {
|
|
|
|
wlr_texture_destroy(surface->texture);
|
|
|
|
surface->texture->valid = false;
|
|
|
|
surface->texture = NULL;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool reupload_buffer = oldw != surface->current->buffer_width ||
|
|
|
|
bool reupload_buffer = oldw != surface->current->buffer_width ||
|
|
|
|