diff options
author | Vinson Lee <vlee@vmware.com> | 2010-04-11 18:19:24 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-04-11 18:19:24 -0700 |
commit | c7dda49affce18afb1ec608a987766845dea8660 (patch) | |
tree | 7b8954b946b653530e6645987d544f172ea788db /src/gallium/drivers/r300 | |
parent | 8033d7542b37e92f9a79febbdf88b0573a65cfa5 (diff) |
r300g: Initialize base.bind member variable.
The base.bind member variable was never initialized.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_transfer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_transfer.c b/src/gallium/drivers/r300/r300_transfer.c index 8dc705a7d4..e4df750455 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 |