~andreafeletto/levee

083a504b7e4243b21cd76d978b28e76552dd5aec — Andrea Feletto 5 months ago 68ee28d main
fix: do not destroy buffers manually
1 files changed, 0 insertions(+), 1 deletions(-)

M src/main.zig
M src/main.zig => src/main.zig +0 -1
@@ 71,7 71,6 @@ fn draw(state: *State) void {

    const shm = state.wayland.shm.?;
    const buffer = Buffer.create(state.allocator, shm, width, height) catch return;
    defer buffer.destroy();

    const area = [_]pixman.Rectangle16{
        .{ .x = 0, .y = 0, .width = width, .height = height },