summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_api.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-09-14 21:24:45 -0700
committerKenneth Graunke <[email protected]>2014-09-24 23:14:16 -0700
commitd0ec6e85099af68b8a36f9815f4e3d43d767bb38 (patch)
tree2ec417773e8c07c828fb1118ca23018049846ead /src/mesa/vbo/vbo_exec_api.c
parent8c16a0d7ba95045418f4b90c1a0d77942160f6f7 (diff)
mesa: Use proper structure for glGet*(GL_TEXTURE_COORD_ARRAY*).
The code in get.c that handles this uses ctx->Array.VAO->VertexAttrib, which is a gl_vertex_attrib_array structure, not a gl_client_array. The offsets of all fields happened to be the same in both structures, at least on x86_64. "Size," "Type," and "Stride" are obviously the same: both structures start with the same fields, in the same order. "Enabled" is dicier: there are different fields before it in both structures, including pointer sized values which might need special alignment. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Fredrik Höglund <[email protected]> Reviewed-by: Brian Paul <[email protected]> Cc: [email protected]
Diffstat (limited to 'src/mesa/vbo/vbo_exec_api.c')
0 files changed, 0 insertions, 0 deletions