projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
833e6f0
)
r300g: Silence uninitialized variable warning.
author
Vinson Lee
<vlee@vmware.com>
Tue, 13 Apr 2010 07:35:10 +0000
(
00:35
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Tue, 13 Apr 2010 07:35:10 +0000
(
00:35
-0700)
src/gallium/drivers/r300/r300_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state.c
b/src/gallium/drivers/r300/r300_state.c
index f5ece39553248906acc56ef9b8a7cab222031095..0cb102359df4a1ad2191826b809e892255493cab 100644
(file)
--- a/
src/gallium/drivers/r300/r300_state.c
+++ b/
src/gallium/drivers/r300/r300_state.c
@@
-1432,6
+1432,7
@@
static void r300_set_constant_buffer(struct pipe_context *pipe,
break;
default:
assert(0);
+ cbuf = NULL;
}
if (buf == NULL || buf->width0 == 0 ||