formatting fix
authorBrian <brian.paul@tungstengraphics.com>
Wed, 17 Oct 2007 20:57:15 +0000 (14:57 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 17 Oct 2007 20:57:15 +0000 (14:57 -0600)
src/mesa/state_tracker/st_cb_texture.c

index eea47b9..1621b56 100644 (file)
@@ -1500,7 +1500,9 @@ st_finalize_mipmap_tree(GLcontext *ctx,
       comp_byte = compressed_num_bytes(firstImage->base.TexFormat->MesaFormat);
       cpp = comp_byte;
    }
-   else cpp = firstImage->base.TexFormat->TexelBytes;
+   else {
+      cpp = firstImage->base.TexFormat->TexelBytes;
+   }
 
    /* Check tree can hold all active levels.  Check tree matches
     * target, imageFormat, etc.