r300g: Silence uninitialized variable warning.

This commit is contained in:
Vinson Lee
2010-04-13 00:35:10 -07:00
parent 833e6f0524
commit 8316da7cd2
+1
View File
@@ -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 ||