summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
commit23e83724df4809fd7857cc609c33ce7e8d3021a4 (patch)
treec3018d5ce5c474883b9a31aca33962d73a540bd8 /glx
parentb0413b6e99c6b5fbc04229ce64ddf1f41b08e63e (diff)
Fix spelling/wording issues
Most (but not all) of these were found by using codespell --builtin clear,rare,usage,informal,code,names but not everything reported by that was fixed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'glx')
-rw-r--r--glx/glxcmds.c2
-rw-r--r--glx/indirect_util.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/glx/glxcmds.c b/glx/glxcmds.c
index 1e2061d89..c29b62676 100644
--- a/glx/glxcmds.c
+++ b/glx/glxcmds.c
@@ -251,7 +251,7 @@ DoCreateContext(__GLXclientState * cl, GLXContextID gcId,
** Find the display list space that we want to share.
**
** NOTE: In a multithreaded X server, we would need to keep a reference
- ** count for each display list so that if one client detroyed a list that
+ ** count for each display list so that if one client destroyed a list that
** another client was using, the list would not really be freed until it
** was no longer in use. Since this sample implementation has no support
** for multithreaded servers, we don't do this.
diff --git a/glx/indirect_util.c b/glx/indirect_util.c
index dccffa393..ba180b0cc 100644
--- a/glx/indirect_util.c
+++ b/glx/indirect_util.c
@@ -227,7 +227,7 @@ get_decode_index(const struct __glXDispatchInfo *dispatch_info, unsigned opcode)
child_index = (opcode & mask) >> next_remain;
index = tree[index + 1 + child_index];
- /* If the next node is an empty leaf, the opcode is for a non-existant
+ /* If the next node is an empty leaf, the opcode is for a non-existent
* function. We're done.
*
* If the next node is a non-empty leaf, look up the function pointer