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 eea47b9b41ae27b4ec21869393e56135c852c95b..1621b56336e196238cc8737ee6399fa9f99b4ad0 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.