diff options
author | Marek Olšák <[email protected]> | 2011-02-18 13:45:29 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-02-18 13:57:31 +0100 |
commit | 449c4f3706bb479aaa3921cd8e6edc62e80c6e5b (patch) | |
tree | 526ad988b90fde9f2b39624340044068fe3e4475 /src/gallium/auxiliary | |
parent | 8cbd3b5ef11e3e77022f98f3151dd39e0eec188c (diff) |
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.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_vbuf_mgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_vbuf_mgr.c b/src/gallium/auxiliary/util/u_vbuf_mgr.c index 7add88e529d..096392f3133 100644 --- a/src/gallium/auxiliary/util/u_vbuf_mgr.c +++ b/src/gallium/auxiliary/util/u_vbuf_mgr.c @@ -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; |