From 590ba7b9b579b97e34b51ab7e3460ebc85713343 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 28 Oct 2026 21:07:13 -0300 Subject: sketchbook: Zig 0.17, a Store on disk, requests, a scope (waveform, spectrum, spectrogram), audio codecs and fonts, web host --- src/vector/root.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vector/root.zig') diff --git a/src/vector/root.zig b/src/vector/root.zig index 7556948..0414286 100644 --- a/src/vector/root.zig +++ b/src/vector/root.zig @@ -69,12 +69,12 @@ pub fn Renderer(comptime backend: Backend) type { return r.target.height; } - /// Starts a picture. `f.arena` holds what the GPU pass needs until + /// Starts a picture. `f.scratch` holds what the GPU pass needs until /// the frame is consumed. pub fn begin(r: *Self, f: anytype, clear: Drawing.Color) void { switch (backend) { .cpu => r.target.clear(clear), - .gpu => r.target.begin(f.arena, clear), + .gpu => r.target.begin(f.scratch, clear), } } -- cgit v1.3