diff options
author | Dave Airlie <airlied@redhat.com> | 2015-12-10 10:36:42 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-12-10 13:51:44 +1000 |
commit | 21abaad8fe7b5bf78737b9cf009548f41e4777b9 (patch) | |
tree | 18e41e9d0320f18f6619f0c0de01ee475b68b3fa /src/mesa/main/varray.c | |
parent | b4a03e7f8f4006eb2c5b09a0611fdda153dd8437 (diff) | |
download | external_mesa3d-21abaad8fe7b5bf78737b9cf009548f41e4777b9.zip external_mesa3d-21abaad8fe7b5bf78737b9cf009548f41e4777b9.tar.gz external_mesa3d-21abaad8fe7b5bf78737b9cf009548f41e4777b9.tar.bz2 |
mesa/varray: set double arrays to non-normalised.
Doesn't have any effect in practice I don't think, but
CTS reads back using GetVertexAttrib.
This fixes: GL41-CTS.vertex_attrib_64bit.get_vertex_attrib
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/mesa/main/varray.c')
-rw-r--r-- | src/mesa/main/varray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 58f376b..c71e16a 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -776,7 +776,7 @@ _mesa_VertexAttribLPointer(GLuint index, GLint size, GLenum type, update_array(ctx, "glVertexAttribLPointer", VERT_ATTRIB_GENERIC(index), legalTypes, 1, 4, - size, type, stride, GL_TRUE, GL_FALSE, GL_TRUE, ptr); + size, type, stride, GL_FALSE, GL_FALSE, GL_TRUE, ptr); } |