diff options
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-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 f5ece395532..0cb102359df 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 || |