From c7dda49affce18afb1ec608a987766845dea8660 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sun, 11 Apr 2010 18:19:24 -0700 Subject: [PATCH] r300g: Initialize base.bind member variable. The base.bind member variable was never initialized. --- src/gallium/drivers/r300/r300_transfer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c index 8dc705a7d4f..e4df7504550 100644 --- a/src/gallium/drivers/r300/r300_transfer.c +++ b/src/gallium/drivers/r300/r300_transfer.c @@ -155,6 +155,7 @@ r300_texture_get_transfer(struct pipe_context *ctx, base.last_level = 0; base.nr_samples = 0; base._usage = PIPE_USAGE_DYNAMIC; + base.bind = 0; base.flags = R300_RESOURCE_FLAG_TRANSFER; /* For texture reading, the temporary (detiled) texture is used as -- 2.30.2