aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-13 17:51:42 +0200
committerMarek Olšák <[email protected]>2012-04-13 23:18:04 +0200
commit7864933acd81892be0692555ae6d37d4293adb2a (patch)
tree89e5366d7cfae77be19ee2eada28c17966bcb811 /src
parent286e50a87d6dc2cd9e6d020a6d41eb7cdc506c9d (diff)
u_blitter: align vertex buffer suballocations to 4
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/util/u_blitter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_blitter.c b/src/gallium/auxiliary/util/u_blitter.c
index 3e9cbffe904..6a9141209bb 100644
--- a/src/gallium/auxiliary/util/u_blitter.c
+++ b/src/gallium/auxiliary/util/u_blitter.c
@@ -276,7 +276,7 @@ struct blitter_context *util_blitter_create(struct pipe_context *pipe)
for (i = 0; i < 4; i++)
ctx->vertices[i][0][3] = 1; /*v.w*/
- ctx->upload = u_upload_create(pipe, 65536, 128, PIPE_BIND_VERTEX_BUFFER);
+ ctx->upload = u_upload_create(pipe, 65536, 4, PIPE_BIND_VERTEX_BUFFER);
return &ctx->base;
}