From: Vinson Lee Date: Mon, 12 Apr 2010 01:19:24 +0000 (-0700) Subject: r300g: Initialize base.bind member variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7dda49affce18afb1ec608a987766845dea8660;p=mesa.git r300g: Initialize base.bind member variable. The base.bind member variable was never initialized. --- 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