summaryrefslogtreecommitdiff
path: root/src/vector/root.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-28 21:07:13 -0300
committerGabriel Schneider <[email protected]>2026-11-12 13:22:02 -0300
commit590ba7b9b579b97e34b51ab7e3460ebc85713343 (patch)
tree6a73a7570ff4f79f41deff078455877b9bc6571b /src/vector/root.zig
parentbc8e6eb1bfef0c5e9b3c40fc1e4fd5a1659e2b03 (diff)
downloadsketchbook-590ba7b9b579b97e34b51ab7e3460ebc85713343.tar.gz
sketchbook-590ba7b9b579b97e34b51ab7e3460ebc85713343.zip
sketchbook: Zig 0.17, a Store on disk, requests, a scope (waveform, spectrum, spectrogram), audio codecs and fonts, web host
Diffstat (limited to 'src/vector/root.zig')
-rw-r--r--src/vector/root.zig4
1 files changed, 2 insertions, 2 deletions
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),
}
}