r300-gallium: Actually set stride when creating textures.

Duh.
This commit is contained in:
Corbin Simpson
2009-03-12 12:14:35 -07:00
parent 61c65a6c7e
commit 7c204c9753
+4
View File
@@ -74,6 +74,10 @@ static void r300_setup_miptree(struct r300_texture* tex)
tex->offset[i] = (tex->size + 63) & ~63;
tex->size = tex->offset[i] + size;
if (i == 0) {
tex->stride = stride;
}
}
}