diff options
author | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-02-16 02:54:11 +0100 |
---|---|---|
committer | Stephane Marchesin <marchesin@icps.u-strasbg.fr> | 2008-02-16 02:54:22 +0100 |
commit | 4032ff3889021089debce1c43a0bb984b121cbf6 (patch) | |
tree | fa2bceed9f90d7cc3d775357578876342ff23359 /src/mesa/pipe/nv30/nv30_miptree.c | |
parent | 6e3e5ba3bb25183efafcf78d6794fc50236c2835 (diff) |
nv30: fixes.
Diffstat (limited to 'src/mesa/pipe/nv30/nv30_miptree.c')
-rw-r--r-- | src/mesa/pipe/nv30/nv30_miptree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/nv30/nv30_miptree.c b/src/mesa/pipe/nv30/nv30_miptree.c index 475f1be8ad..5fb89f4cfd 100644 --- a/src/mesa/pipe/nv30/nv30_miptree.c +++ b/src/mesa/pipe/nv30/nv30_miptree.c @@ -35,7 +35,7 @@ nv30_miptree_layout(struct nv30_miptree *nv30mt) nv30mt->level[l].pitch = (nv30mt->level[l].pitch + 63) & ~63; nv30mt->level[l].image_offset = - calloc(nr_faces, sizeof(unsigned)); + CALLOC(nr_faces, sizeof(unsigned)); width = MAX2(1, width >> 1); height = MAX2(1, height >> 1); |