mesa: Don't use alignments < 4.

This commit is contained in:
José Fonseca
2008-08-14 10:11:51 +01:00
parent 449cb6b37b
commit c67f353c0f

View File

@@ -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)