summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-01-02 20:28:10 +0100
committerMarek Olšák <[email protected]>2013-01-04 21:08:28 +0100
commitbce36d155659f250dd2c38cd72b231bdbe280408 (patch)
tree7e33783f8750c50db05865a771e6c13a4aceb767 /src/gallium/drivers/r300/r300_context.c
parentbeb358809e30d8769f6d8e75b8edb9d564bd8fa4 (diff)
r300g: don't check for vertex and index buffer bind flags
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.c')
-rw-r--r--src/gallium/drivers/r300/r300_context.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.c b/src/gallium/drivers/r300/r300_context.c
index b7256682b55..8178c394d07 100644
--- a/src/gallium/drivers/r300/r300_context.c
+++ b/src/gallium/drivers/r300/r300_context.c
@@ -447,8 +447,7 @@ struct pipe_context* r300_create_context(struct pipe_screen* screen,
memset(&vb, 0, sizeof(vb));
vb.target = PIPE_BUFFER;
vb.format = PIPE_FORMAT_R8_UNORM;
- vb.bind = PIPE_BIND_VERTEX_BUFFER;
- vb.usage = PIPE_USAGE_IMMUTABLE;
+ vb.usage = PIPE_USAGE_STATIC;
vb.width0 = sizeof(float) * 16;
vb.height0 = 1;
vb.depth0 = 1;