gallium: remove redundant size from the constant buffer

reuse the size of the actual buffer
This commit is contained in:
Zack Rusin
2009-01-26 15:22:53 -05:00
parent d6888e811d
commit 4f5308bdcb
11 changed files with 19 additions and 22 deletions

View File

@@ -92,8 +92,6 @@ void st_upload_constants( struct st_context *st,
pipe_buffer_unmap(pipe->screen, cbuf->buffer);
}
cbuf->size = paramBytes;
st->pipe->set_constant_buffer(st->pipe, id, 0, cbuf);
}
else {