projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8033d75
)
r300g: Initialize base.bind member variable.
author
Vinson Lee
<vlee@vmware.com>
Mon, 12 Apr 2010 01:19:24 +0000
(18:19 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 12 Apr 2010 01:19:24 +0000
(18:19 -0700)
The base.bind member variable was never initialized.
src/gallium/drivers/r300/r300_transfer.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_transfer.c
b/src/gallium/drivers/r300/r300_transfer.c
index 8dc705a7d4ff42d9d53e5448f1fe23a162f62c31..e4df7504550fd2efd7103da31cc16b0c937e42b7 100644
(file)
--- 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