wlr_compositer: Keep track if surface has committed a buffer before.

This would break if you are running with a NULL renderer.
This commit is contained in:
Alexander Orzechowski 2023-05-03 23:48:36 -04:00 committed by Simon Ser
parent 2dd9549085
commit 394accbe4a
2 changed files with 4 additions and 1 deletions

View file

@ -163,6 +163,7 @@ struct wlr_surface {
} previous;
bool opaque;
bool has_buffer;
int32_t preferred_buffer_scale;
bool preferred_buffer_transform_sent;