OSDN Git Service

Cell: Fix unintended breakage from commit 1d62a057bcb3ee4ef6ebedd93f62ed2e0d8061ba
authorIan Romanick <idr@us.ibm.com>
Thu, 14 Feb 2008 19:55:19 +0000 (11:55 -0800)
committerIan Romanick <idr@us.ibm.com>
Thu, 14 Feb 2008 19:55:19 +0000 (11:55 -0800)
src/mesa/pipe/cell/ppu/cell_texture.c

index df178d9..c8ef360 100644 (file)
@@ -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;