mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-24 22:30:31 +01:00
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:
parent
723f047a3b
commit
2197967cd4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue