summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-05-13 21:32:47 +0200
committerChristoph Bumiller <[email protected]>2012-05-17 15:24:58 +0200
commit07323a80a258372875e61f73a4f745374bea6bda (patch)
tree6f794491c25b2d164b8d728e2871420d0e0900bf
parentd65bd195ecbd6623b962a3c98725a484ef2791a8 (diff)
st/mesa: set PIPE_BIND_STREAM_OUTPUT for TFB target in st_bufferobj_data
-rw-r--r--src/mesa/state_tracker/st_cb_bufferobjects.c3
1 files changed, 3 insertions, 0 deletions
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;
}