diff options
author | Dave Airlie <[email protected]> | 2015-12-18 12:25:53 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-12-18 12:26:24 +0000 |
commit | 97df531987ca5512d90b11b04b0df3dc6b48aab7 (patch) | |
tree | b43886f3c07e071d6581a7d32659d424aec47f98 /src | |
parent | 0eff2eb2ae5ac59944534233deb1b78c0d0bc057 (diff) |
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" <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
(cherry picked from commit 21abaad8fe7b5bf78737b9cf009548f41e4777b9)
Diffstat (limited to 'src')
-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 392602932a4..962bc3c7eea 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -766,7 +766,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); } |