This commit is contained in:
parent
0325584319
commit
00397f17ea
2 changed files with 21 additions and 34 deletions
|
|
@ -1264,7 +1264,7 @@ static void update_buffer(MwLL self, struct _MwLLWaylandShmBuffer* buffer) {
|
|||
memcpy(buffer->buf, buffer->buf_back, buffer->buf_size);
|
||||
// Yes this is needed every time, it's how we fix weston.
|
||||
wl_surface_attach(buffer->surface, buffer->shm_buffer, 0, 0);
|
||||
wl_surface_commit(buffer->surface);
|
||||
wl_surface_commit(buffer->surface);
|
||||
}
|
||||
|
||||
static void buffer_setup(struct _MwLLWaylandShmBuffer* buffer, MwU32 width, MwU32 height) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue