From 07323a80a258372875e61f73a4f745374bea6bda Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sun, 13 May 2012 21:32:47 +0200 Subject: [PATCH] st/mesa: set PIPE_BIND_STREAM_OUTPUT for TFB target in st_bufferobj_data --- src/mesa/state_tracker/st_cb_bufferobjects.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/state_tracker/st_cb_bufferobjects.c b/src/mesa/state_tracker/st_cb_bufferobjects.c index 6534a4347ab..b47a2d87f74 100644 --- a/src/mesa/state_tracker/st_cb_bufferobjects.c +++ b/src/mesa/state_tracker/st_cb_bufferobjects.c @@ -195,6 +195,9 @@ st_bufferobj_data(struct gl_context *ctx, case GL_ELEMENT_ARRAY_BUFFER_ARB: bind = PIPE_BIND_INDEX_BUFFER; break; + case GL_TRANSFORM_FEEDBACK_BUFFER: + bind = PIPE_BIND_STREAM_OUTPUT; + break; default: bind = 0; } -- 2.30.2