diff options
-rw-r--r-- | src/mesa/main/varray.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/varray.c b/src/mesa/main/varray.c index 7f14ffb2970..540ebaf0730 100644 --- a/src/mesa/main/varray.c +++ b/src/mesa/main/varray.c @@ -887,6 +887,11 @@ get_vertex_array_attrib(struct gl_context *ctx, return array->Integer; } goto error; + case GL_VERTEX_ATTRIB_ARRAY_LONG: + if (_mesa_is_desktop_gl(ctx)) { + return array->Doubles; + } + goto error; case GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB: if ((_mesa_is_desktop_gl(ctx) && ctx->Extensions.ARB_instanced_arrays) || _mesa_is_gles3(ctx)) { |