diff options
author | Vinson Lee <vlee@vmware.com> | 2010-04-13 00:35:10 -0700 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-04-13 00:35:10 -0700 |
commit | 8316da7cd20c9538b58b8927cc14f1639b881008 (patch) | |
tree | 738c662849370a1231164439a36a6d8938c8be1b /src/gallium/drivers/r300 | |
parent | 833e6f052483495a86c4426d2d1151b8b0564bae (diff) |
r300g: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index f5ece39553..0cb102359d 100644 --- 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 || |