X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fglx%2Findirect_vertex_array_priv.h;h=488dacb99d117346dace7d3da9db7f9cba4341dc;hb=e426286e21f8a90f40aff2e7617287bfc3306652;hp=56dac37c7834a4b78f907867ffd1c7b97f972e12;hpb=a8238bb08a95e7ea4430450c304a6bee210df1a6;p=mesa.git diff --git a/src/glx/indirect_vertex_array_priv.h b/src/glx/indirect_vertex_array_priv.h index 56dac37c783..488dacb99d1 100644 --- a/src/glx/indirect_vertex_array_priv.h +++ b/src/glx/indirect_vertex_array_priv.h @@ -87,16 +87,10 @@ struct array_state /** * Pre-calculated GLX protocol command header. + * This contains two 16-bit words: the command length and the command + * opcode. */ - uint32_t header[2]; - - /** - * Size of the header data. For simple data, like glColorPointerfv, - * this is 4. For complex data that requires either a count (e.g., - * glWeightfvARB), an index (e.g., glVertexAttrib1fvARB), or a - * selector enum (e.g., glMultiTexCoord2fv) this is 8. - */ - unsigned header_size; + uint16_t header[2]; /** * Set to \c GL_TRUE if this array is enabled. Otherwise, it is set