mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
formatting fix
This commit is contained in:
parent
e48ea92510
commit
5cb0d749b0
1 changed files with 3 additions and 1 deletions
|
|
@ -1500,7 +1500,9 @@ st_finalize_mipmap_tree(GLcontext *ctx,
|
||||||
comp_byte = compressed_num_bytes(firstImage->base.TexFormat->MesaFormat);
|
comp_byte = compressed_num_bytes(firstImage->base.TexFormat->MesaFormat);
|
||||||
cpp = comp_byte;
|
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
|
/* Check tree can hold all active levels. Check tree matches
|
||||||
* target, imageFormat, etc.
|
* target, imageFormat, etc.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue