summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Deininger <andreas@deininger.net>2025-10-03 18:47:47 +0200
committerAndreas Deininger <andreas@deininger.net>2025-10-03 18:52:26 +0200
commita667b740eefb03962b69f238a10d539791120112 (patch)
treef212ae9414a3d997810878aa823d9b202b48a43f /src
parentf99a6846bcf435d07c2376e546c855be5756ee28 (diff)
Fix typos
Diffstat (limited to 'src')
-rw-r--r--src/build/SharedDeps.zig2
-rw-r--r--src/renderer/generic.zig2
-rw-r--r--src/stb/stb_image.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/build/SharedDeps.zig b/src/build/SharedDeps.zig
index 785830ab9..dfa676bba 100644
--- a/src/build/SharedDeps.zig
+++ b/src/build/SharedDeps.zig
@@ -692,7 +692,7 @@ fn addGtkNg(
}
}
-/// Add only the dependencies required for `Config.simd` enbled. This also
+/// Add only the dependencies required for `Config.simd` enabled. This also
/// adds all the simd source files for compilation.
pub fn addSimd(
b: *std.Build,
diff --git a/src/renderer/generic.zig b/src/renderer/generic.zig
index 802c769a6..d66a32286 100644
--- a/src/renderer/generic.zig
+++ b/src/renderer/generic.zig
@@ -184,7 +184,7 @@ pub fn Renderer(comptime GraphicsAPI: type) type {
/// Background image, if we have one.
bg_image: ?imagepkg.Image = null,
- /// Set whenever the background image changes, singalling
+ /// Set whenever the background image changes, signalling
/// that the new background image needs to be uploaded to
/// the GPU.
///
diff --git a/src/stb/stb_image.h b/src/stb/stb_image.h
index 3ae1815c1..ed7791dff 100644
--- a/src/stb/stb_image.h
+++ b/src/stb/stb_image.h
@@ -6831,7 +6831,7 @@ static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, i
// 0: not specified.
}
- // background is what out is after the undoing of the previou frame;
+ // background is what out is after the undoing of the previous frame;
memcpy( g->background, g->out, 4 * g->w * g->h );
}