u_vbuf_mgr: initialize flag indicating that buffers have been updated

This fixes r300g errors:
r300: Cannot get a relocation in radeon_drm_cs_write_reloc.
This commit is contained in:
Marek Olšák 2011-02-18 13:45:29 +01:00
parent 8cbd3b5ef1
commit 449c4f3706
1 changed files with 1 additions and 1 deletions

View File

@ -560,7 +560,7 @@ void u_vbuf_mgr_draw_begin(struct u_vbuf_mgr *mgrb,
boolean *uploader_flushed)
{
struct u_vbuf_mgr_priv *mgr = (struct u_vbuf_mgr_priv*)mgrb;
boolean bufs_updated, upload_flushed = FALSE;
boolean bufs_updated = FALSE, upload_flushed = FALSE;
int min_index, max_index;
min_index = info->min_index - info->index_bias;