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