summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-14 10:11:51 +0100
committerJosé Fonseca <jrfonseca@tungstengraphics.com>2008-08-14 11:01:42 +0100
commitc67f353c0f0d3872c330e5a8cdb13334a5e2e239 (patch)
tree62ed8f04935f78289e4bd9c9547337223276e5cf
parent449cb6b37b54bd6e4a7058e97739d9634ccefaa7 (diff)
mesa: Don't use alignments < 4.
-rw-r--r--src/mesa/state_tracker/st_atom_constbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_atom_constbuf.c b/src/mesa/state_tracker/st_atom_constbuf.c
index 2856e0f0e0..d3aadf5074 100644
--- a/src/mesa/state_tracker/st_atom_constbuf.c
+++ b/src/mesa/state_tracker/st_atom_constbuf.c
@@ -74,7 +74,7 @@ void st_upload_constants( struct st_context *st,
* avoid gratuitous rendering synchronization.
*/
pipe_reference_buffer(pipe, &cbuf->buffer, NULL );
- cbuf->buffer = pipe_buffer_create(pipe, 1, PIPE_BUFFER_USAGE_CONSTANT,
+ cbuf->buffer = pipe_buffer_create(pipe, 16, PIPE_BUFFER_USAGE_CONSTANT,
paramBytes );
if (0)