diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-10 21:54:37 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-10 21:54:37 +0200 |
| commit | 3026218eaa0d3be59a898939da5126ca03bc5969 (patch) | |
| tree | 6d9dfe729c2bca4a59e158fe44e8c3f7f1b4a476 /swt.c | |
| parent | 2c2e0188f7dc29946483b83d088e4f35c3a9069c (diff) | |
add double buffering
Diffstat (limited to 'swt.c')
| -rw-r--r-- | swt.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -288,6 +288,7 @@ draw_frame() void commit_surface() { + push_buffer(win.canvas); wl_surface_attach(win.surface.wl, win.canvas->buffer, 0, 0); wl_surface_damage_buffer(win.surface.wl, 0, 0, win.width, win.height); wl_surface_commit(win.surface.wl); |