mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 14:00:16 +01:00
nv04: small fix again
This commit is contained in:
parent
39ebeead56
commit
8edb50ff1e
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,8 @@ nv04_miptree_layout(struct nv04_miptree *nv04mt)
|
|||
|
||||
for (l = 0; l <= pt->last_level; l++) {
|
||||
|
||||
nv04mt->level[l].image_offset = offset;
|
||||
nv04mt->level[l].image_offset =
|
||||
CALLOC(nr_faces, sizeof(unsigned));
|
||||
offset += nv04mt->level[l].pitch * pt->height[l];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue