aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/objectlabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/objectlabel.c')
-rw-r--r--mesalib/src/mesa/main/objectlabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesalib/src/mesa/main/objectlabel.c b/mesalib/src/mesa/main/objectlabel.c
index e75fe3be2..8efc33e0d 100644
--- a/mesalib/src/mesa/main/objectlabel.c
+++ b/mesalib/src/mesa/main/objectlabel.c
@@ -158,7 +158,7 @@ get_label_pointer(struct gl_context *ctx, GLenum identifier, GLuint name,
break;
case GL_VERTEX_ARRAY:
{
- struct gl_array_object *obj = _mesa_lookup_arrayobj(ctx, name);
+ struct gl_vertex_array_object *obj = _mesa_lookup_vao(ctx, name);
if (obj)
labelPtr = &obj->Label;
}