projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
723f047
)
st/mesa: fix _mesa_init_transform_feedback_object() argument
author
Brian Paul
<brianp@vmware.com>
Fri, 1 Nov 2013 14:43:22 +0000
(08:43 -0600)
committer
Brian Paul
<brianp@vmware.com>
Fri, 1 Nov 2013 14:43:25 +0000
(08:43 -0600)
Need to pass a pointer of the base type, not the st type.
Fixes a compiler warning.
src/mesa/state_tracker/st_cb_xformfb.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_xformfb.c
b/src/mesa/state_tracker/st_cb_xformfb.c
index a1c643b9d74c793122581da6d46f85cde4f724b8..e824fe9b3cfe36e4620c316eaf107bd498eb6f53 100644
(file)
--- 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;
}