aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2008-02-14 11:55:19 -0800
committerIan Romanick <[email protected]>2008-02-14 11:55:19 -0800
commitf1257fd7944c5b62a07cecf0608e63ec7a947706 (patch)
tree5fe1f1eb55d0451338e355c49885e7f2502a0c68
parent77a148862036bd6bf01f631ff44e455d50bcb8b9 (diff)
Cell: Fix unintended breakage from commit 1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba
-rw-r--r--src/mesa/pipe/cell/ppu/cell_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/cell/ppu/cell_texture.c b/src/mesa/pipe/cell/ppu/cell_texture.c
index df178d9ca24..c8ef36002f7 100644
--- a/src/mesa/pipe/cell/ppu/cell_texture.c
+++ b/src/mesa/pipe/cell/ppu/cell_texture.c
@@ -61,7 +61,7 @@ cell_texture_layout(struct cell_texture * spt)
spt->buffer_size = 0;
- for ( level = pt->first_level ; level <= pt->last_level ; level++ ) {
+ for ( level = 0 ; level <= pt->last_level ; level++ ) {
pt->width[level] = width;
pt->height[level] = height;
pt->depth[level] = depth;