r300-gallium: Fix C99 error.

This commit is contained in:
Corbin Simpson
2009-02-28 00:01:41 -08:00
parent b210c3fb3f
commit 2b5770e652
+2 -1
View File
@@ -31,8 +31,9 @@ static void r300_setup_miptree(struct r300_texture* tex)
{
struct pipe_texture* base = &tex->tex;
int stride, size, offset;
int i;
for (int i = 0; i <= base->last_level; i++) {
for (i = 0; i <= base->last_level; i++) {
if (i > 0) {
base->width[i] = minify(base->width[i-1]);
base->height[i] = minify(base->height[i-1]);