glx: fix typos

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22663>
This commit is contained in:
Harri Nieminen
2023-04-24 14:32:29 +03:00
committed by Marge Bot
parent 523dffe6cd
commit 608ed04cc1
13 changed files with 23 additions and 23 deletions
+5 -5
View File
@@ -60,7 +60,7 @@
* This is the GL 1.1 DrawArrays protocol. The only difference between GL
* 1.1 and EXT_vertex_arrays is the opcode used for the DrawArrays command.
* This protocol is called "old" because the ARB is in the process of
* defining a new protocol, which will probably be called wither "new" or
* defining a new protocol, which will probably be called either "new" or
* "vbo", to support multiple texture coordinate arrays, generic attributes,
* and vertex buffer objects.
*
@@ -518,7 +518,7 @@ fill_array_info_cache(struct array_state_vector *arrays)
/**
* Emit a \c glDrawArrays command using the "none" protocol. That is,
* emit immediate-mode commands that are equivalent to the requiested
* emit immediate-mode commands that are equivalent to the requested
* \c glDrawArrays command. This is used with servers that don't support
* the OpenGL 1.1 / EXT_vertex_arrays DrawArrays protocol or in cases where
* vertex state is enabled that is not compatible with that protocol.
@@ -632,13 +632,13 @@ emit_DrawArrays_header_old(struct glx_context * gc,
/* Calculate the number of data packets that will be required to send
* the whole command. To do this, the number of verticies that
* the whole command. To do this, the number of vertices that
* will fit in a single buffer must be calculated.
*
* The important value here is elements_per_request. This is the
* number of complete array elements that will fit in a single
* buffer. There may be some wasted space at the end of the buffer,
* but splitting elements across buffer boundries would be painful.
* but splitting elements across buffer boundaries would be painful.
*/
elements_per_request[0] = maxSize / single_vertex_size;
@@ -1793,7 +1793,7 @@ __glXSetArrayEnable(__GLXattribute * state, GLenum key, unsigned index,
struct array_state *a;
/* Texture coordinate arrays have an implict index set when the
/* Texture coordinate arrays have an implicit index set when the
* application calls glClientActiveTexture.
*/
if (key == GL_TEXTURE_COORD_ARRAY) {