projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36b65a3
)
r600g: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 21:17:14 +0000
(14:17 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 8 Oct 2010 21:17:14 +0000
(14:17 -0700)
src/gallium/winsys/r600/drm/evergreen_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/winsys/r600/drm/evergreen_hw_context.c
b/src/gallium/winsys/r600/drm/evergreen_hw_context.c
index 9b39c0c4f01a2206a6412ed43c6daa6e25d5b9fd..7f21b53ace02ecfe807ffed08a61e2242206ed89 100644
(file)
--- a/
src/gallium/winsys/r600/drm/evergreen_hw_context.c
+++ b/
src/gallium/winsys/r600/drm/evergreen_hw_context.c
@@
-762,7
+762,8
@@
void evergreen_context_draw(struct r600_context *ctx, const struct r600_draw *dr
struct r600_bo *cb[12];
struct r600_bo *db;
unsigned ndwords = 9, flush;
- struct r600_block *dirty_block, *next_block;
+ struct r600_block *dirty_block = NULL;
+ struct r600_block *next_block;
if (draw->indices) {
ndwords = 13;