mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-22 06:59:44 -05:00
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:
parent
2dd9549085
commit
394accbe4a
2 changed files with 4 additions and 1 deletions
|
|
@ -163,6 +163,7 @@ struct wlr_surface {
|
|||
} previous;
|
||||
|
||||
bool opaque;
|
||||
bool has_buffer;
|
||||
|
||||
int32_t preferred_buffer_scale;
|
||||
bool preferred_buffer_transform_sent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue