diff options
author | Anuj Phogat <[email protected]> | 2014-03-12 18:16:21 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-04-16 18:37:06 -0700 |
commit | fdd8bebc22f167f19d9cafbe2e7c189cb3720bcb (patch) | |
tree | a375f43515ca36f65ed820519ebc5da19dd02b39 /src/mesa/main/drawtex.h | |
parent | 80b4a36fed0712fd77b8cc5dbf5b970e0425b299 (diff) |
mesa: Fix glGetVertexAttribi(GL_VERTEX_ATTRIB_ARRAY_SIZE)
mesa currently returns 4 when GL_VERTEX_ATTRIB_ARRAY_SIZE is queried
for a vertex array initially set up with size=GL_BGRA. This patch
makes changes to return size=GL_BGRA as required by the spec.
Fixes Khronos OpenGL CTS test: vertex_array_bgra_basic.test
V2: Use array->Format instead of adding a new variable
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Cc: <[email protected]>
Diffstat (limited to 'src/mesa/main/drawtex.h')
0 files changed, 0 insertions, 0 deletions