summaryrefslogtreecommitdiff
path: root/glx
diff options
context:
space:
mode:
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