summaryrefslogtreecommitdiff
path: root/gsk/gl
diff options
context:
space:
mode:
authorBjörn Daase <bjoern@daase.net>2020-08-21 14:41:13 +0200
committerBjörn Daase <bjoern@daase.net>2020-08-21 15:29:34 +0200
commit6315cd977c2541f6f76cc81dfd47fc228bb3aa5e (patch)
tree29556ecd7c9ed1ad2342b5dd2546270a70f857d0 /gsk/gl
parentbb8c818ba14ffde882f31359e09efd6e9215c593 (diff)
downloadgtk+-6315cd977c2541f6f76cc81dfd47fc228bb3aa5e.tar.gz
*: Fix spelling mistakes found by codespell
Diffstat (limited to 'gsk/gl')
-rw-r--r--gsk/gl/gskglrenderer.c4
-rw-r--r--gsk/gl/stb_rect_pack.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/gsk/gl/gskglrenderer.c b/gsk/gl/gskglrenderer.c
index eb503ecdd5..b5d6b8e127 100644
--- a/gsk/gl/gskglrenderer.c
+++ b/gsk/gl/gskglrenderer.c
@@ -2961,7 +2961,7 @@ gsk_gl_renderer_create_programs (GskGLRenderer *self,
/* We initialize the alpha uniform here, since the default value is important.
- * We can't do it in the shader like a resonable person would because that doesn't
+ * We can't do it in the shader like a reasonable person would because that doesn't
* work in gles. */
for (i = 0; i < GL_N_PROGRAMS; i++)
{
@@ -3196,7 +3196,7 @@ gsk_gl_renderer_add_render_ops (GskGLRenderer *self,
RenderOpBuilder *builder)
{
/* This can still happen, even if the render nodes are created using
- * GtkSnapshot, so let's juse be safe. */
+ * GtkSnapshot, so let's just be safe. */
if (node_is_invisible (node))
return;
diff --git a/gsk/gl/stb_rect_pack.c b/gsk/gl/stb_rect_pack.c
index 8305e860de..ff658466a1 100644
--- a/gsk/gl/stb_rect_pack.c
+++ b/gsk/gl/stb_rect_pack.c
@@ -120,7 +120,7 @@ static int stbrp__skyline_find_min_y(stbrp_context *c, stbrp_node *first, int x0
if (node->y > min_y) {
// raise min_y higher.
// we've accounted for all waste up to min_y,
- // but we'll now add more waste for everything we've visted
+ // but we'll now add more waste for everything we've visited
waste_area += visited_width * (node->y - min_y);
min_y = node->y;
// the first time through, visited_width might be reduced