aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/apple
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/apple')
-rw-r--r--src/glx/apple/apple_glx.c2
-rw-r--r--src/glx/apple/apple_glx_context.c2
-rw-r--r--src/glx/apple/apple_glx_surface.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/glx/apple/apple_glx.c b/src/glx/apple/apple_glx.c
index 3b570882572..a08c205eb96 100644
--- a/src/glx/apple/apple_glx.c
+++ b/src/glx/apple/apple_glx.c
@@ -93,7 +93,7 @@ apple_glx_get_client_id(void)
return id;
}
-/* Return true if an error occured. */
+/* Return true if an error occurred. */
bool
apple_init_glx(Display * dpy)
{
diff --git a/src/glx/apple/apple_glx_context.c b/src/glx/apple/apple_glx_context.c
index 8a6ded28aa2..5650b4f3291 100644
--- a/src/glx/apple/apple_glx_context.c
+++ b/src/glx/apple/apple_glx_context.c
@@ -278,7 +278,7 @@ apple_glx_destroy_context(void **ptr, Display * dpy)
}
-/* Return true if an error occured. */
+/* Return true if an error occurred. */
bool
apple_glx_make_current_context(Display * dpy, void *oldptr, void *ptr,
GLXDrawable drawable)
diff --git a/src/glx/apple/apple_glx_surface.c b/src/glx/apple/apple_glx_surface.c
index 915520286b0..51583bb40bc 100644
--- a/src/glx/apple/apple_glx_surface.c
+++ b/src/glx/apple/apple_glx_surface.c
@@ -124,7 +124,7 @@ surface_destroy(Display * dpy, struct apple_glx_drawable *d)
}
}
-/* Return true if an error occured. */
+/* Return true if an error occurred. */
static bool
create_surface(Display * dpy, int screen, struct apple_glx_drawable *d)
{
@@ -158,7 +158,7 @@ create_surface(Display * dpy, int screen, struct apple_glx_drawable *d)
return true; /* unable to create a surface. */
}
-/* Return true if an error occured. */
+/* Return true if an error occurred. */
/* This returns a referenced object via resultptr. */
bool
apple_glx_surface_create(Display * dpy, int screen,