Mesa (master): u_vbuf_mgr: initialize flag indicating that buffers have been updated
Marek Olšák
mareko at kemper.freedesktop.org
Fri Feb 18 12:57:47 UTC 2011
Module: Mesa
Branch: master
Commit: 449c4f3706bb479aaa3921cd8e6edc62e80c6e5b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=449c4f3706bb479aaa3921cd8e6edc62e80c6e5b
Author: Marek Olšák <maraeo at gmail.com>
Date: Fri Feb 18 13:45:29 2011 +0100
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.
---
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 7add88e..096392f 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;
More information about the mesa-commit
mailing list