diff options
author | Kenneth Graunke <[email protected]> | 2012-11-07 20:29:40 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-11-08 22:53:54 -0800 |
commit | c299f44782d7d7d6719fce622a121aad58856139 (patch) | |
tree | 085b59ae5008c00a57b3b57e8142bc5b636e544e /src/mesa/main/attrib.c | |
parent | 6ccfa1c5430542509c1946c72a7109fe53bbbcbf (diff) |
mesa: Fix glGetVertexAttribI[u]iv now that we have real integer attribs.
Since cf438f5375e242, we store actual integers for the attribute data.
We just need to reinterpret the GLfloat array as a GLint/GLuint array
so we can read the proper data.
Fixes oglconform's glsl-vertex-attrib/basic.VertexAttribI[1234][u]i
subtests (after fixing an unrelated bug in those test cases).
v2: Use the COPY_4V macro to be concise.
NOTE: This is a candidate for the stable branches.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Marek Olšák <[email protected]> [v1]
Diffstat (limited to 'src/mesa/main/attrib.c')
0 files changed, 0 insertions, 0 deletions