summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-17 14:57:15 -0600
committerBrian <[email protected]>2007-10-17 14:57:15 -0600
commit5cb0d749b07be4ecbf4d4d7cde18aecdfe2dba38 (patch)
tree08544fe241ee0dbc42a5505948b954fae9ecea7e
parente48ea925105fb74312f6e2f608b909f897a834e8 (diff)
formatting fix
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index eea47b9b41a..1621b56336e 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -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.