aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-11-01 08:43:22 -0600
committerBrian Paul <[email protected]>2013-11-01 08:43:25 -0600
commit2197967cd4e04365fd9c2eae0351f3e39f839766 (patch)
tree45c5853e55b63231ab3c2699cdbfdb168b4b3e52 /src
parent723f047a3bc21b536d27ab1c0d6cc82f93002648 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_cb_xformfb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_xformfb.c b/src/mesa/state_tracker/st_cb_xformfb.c
index a1c643b9d74..e824fe9b3cf 100644
--- a/src/mesa/state_tracker/st_cb_xformfb.c
+++ b/src/mesa/state_tracker/st_cb_xformfb.c
@@ -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;
}