mirror of https://github.com/GNOME/gimp.git
parent
c10f60e4c8
commit
576ea3cda1
|
@ -305,17 +305,17 @@ tile_manager_allocate_tiles (TileManager *tm)
|
|||
for (j = 0; j < ncols; j++, k++)
|
||||
{
|
||||
Tile *new = tile_new (tm->bpp);
|
||||
|
||||
|
||||
tile_attach (new, tm, k);
|
||||
|
||||
if (j == (ncols - 1))
|
||||
new->ewidth = right_tile;
|
||||
|
||||
|
||||
if (i == (nrows - 1))
|
||||
new->eheight = bottom_tile;
|
||||
|
||||
new->size = new->ewidth * new->eheight * new->bpp;
|
||||
|
||||
|
||||
tiles[k] = new;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -315,7 +315,7 @@ tile_pyramid_get_bpp (const TilePyramid *pyramid)
|
|||
|
||||
/**
|
||||
* tile_pyramid_get_memsize:
|
||||
* @pyramid: a #TilePyramid
|
||||
* @pyramid: a #TilePyramid
|
||||
*
|
||||
* Return value: size of memory allocated for the @pyramid
|
||||
**/
|
||||
|
|
Loading…
Reference in New Issue