summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_draw.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-07-30 16:14:03 +0200
committerMarek Olšák <[email protected]>2015-08-06 20:11:43 +0200
commitb2eb13d602f71f19216284a584834cdaa2550eb3 (patch)
treeaf134a6416e1e87b39a3cc7e906fcd79c8626b90 /src/mesa/state_tracker/st_draw.c
parent7d3939f0de7dcb5e68eca638d5832c683a124775 (diff)
st/mesa: implement DrawTransformFeedbackStream
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_draw.c')
-rw-r--r--src/mesa/state_tracker/st_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c
index a29971c484a..957fcfd410e 100644
--- a/src/mesa/state_tracker/st_draw.c
+++ b/src/mesa/state_tracker/st_draw.c
@@ -243,7 +243,7 @@ st_draw_vbo(struct gl_context *ctx,
/* Transform feedback drawing is always non-indexed. */
/* Set info.count_from_stream_output. */
if (tfb_vertcount) {
- if (st_transform_feedback_draw_init(tfb_vertcount, &info) == false)
+ if (!st_transform_feedback_draw_init(tfb_vertcount, stream, &info))
return;
}
}