projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b9577b
)
r600g: fix a warning that a variable may be uninitialized
author
Marek Olšák
<maraeo@gmail.com>
Sun, 25 Dec 2011 08:37:06 +0000
(09:37 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 25 Dec 2011 09:18:48 +0000
(10:18 +0100)
src/gallium/drivers/r600/r600_blit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_blit.c
b/src/gallium/drivers/r600/r600_blit.c
index 313ed128f06f71bb9c6a381d3caa90dc29d0e0ff..9ad247a3a0a2ad4623f94029c9beadabd27867c8 100644
(file)
--- a/
src/gallium/drivers/r600/r600_blit.c
+++ b/
src/gallium/drivers/r600/r600_blit.c
@@
-316,6
+316,8
@@
static void r600_resource_copy_region(struct pipe_context *ctx,
const struct pipe_box *psbox;
boolean restore_orig[2];
+ memset(orig_info, 0, sizeof(orig_info));
+
/* Fallback for buffers. */
if (dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) {
util_resource_copy_region(ctx, dst, dst_level, dstx, dsty, dstz,