summaryrefslogtreecommitdiff
path: root/hw/xquartz/GL/capabilities.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/GL/capabilities.c')
-rw-r--r--hw/xquartz/GL/capabilities.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xquartz/GL/capabilities.c b/hw/xquartz/GL/capabilities.c
index 5573629fd..1744f1203 100644
--- a/hw/xquartz/GL/capabilities.c
+++ b/hw/xquartz/GL/capabilities.c
@@ -369,7 +369,7 @@ handleDepthModes(struct glCapabilitiesConfig *c, GLint dmodes)
assert(c->total_depth_buffer_depths < GLCAPS_DEPTH_BUFFERS);
}
-/* Return non-zero if an error occured. */
+/* Return non-zero if an error occurred. */
static CGLError
handleRendererDescriptions(CGLRendererInfoObj info, GLint r,
struct glCapabilitiesConfig *c)
@@ -521,7 +521,7 @@ freeGlCapabilities(struct glCapabilities *cap)
cap->configurations = NULL;
}
-/*Return true if an error occured. */
+/* Return true if an error occurred. */
bool
getGlCapabilities(struct glCapabilities *cap)
{
@@ -566,6 +566,6 @@ getGlCapabilities(struct glCapabilities *cap)
CGLDestroyRendererInfo(info);
- /* No error occured. We are done. */
+ /* No error occurred. We are done. */
return kCGLNoError;
}