st/mesa: fix _mesa_init_transform_feedback_object() argument

Need to pass a pointer of the base type, not the st type.
Fixes a compiler warning.
This commit is contained in:
Brian Paul 2013-11-01 08:43:22 -06:00
parent 723f047a3b
commit 2197967cd4

View file

@ -74,7 +74,7 @@ st_new_transform_feedback(struct gl_context *ctx, GLuint name)
if (!obj)
return NULL;
_mesa_init_transform_feedback_object(obj, name);
_mesa_init_transform_feedback_object(&obj->base, name);
return &obj->base;
}