diff options
Diffstat (limited to 'src/vector/root.zig')
| -rw-r--r-- | src/vector/root.zig | 4 |
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), } } |
