mirror of https://github.com/GNOME/gimp.git
app: fix gimp_brush_mipmap_get_memsize()
Don't include the main mask/pixmap buffer size -- it's already counted in gimp_brush_get_memsize().
This commit is contained in:
parent
f09e940cac
commit
30e925065f
|
@ -483,7 +483,7 @@ gimp_brush_mipmap_get_memsize (GimpBrush *brush)
|
|||
{
|
||||
gint i;
|
||||
|
||||
for (i = 0;
|
||||
for (i = 1;
|
||||
i < brush->priv->n_horz_mipmaps * brush->priv->n_vert_mipmaps;
|
||||
i++)
|
||||
{
|
||||
|
@ -495,7 +495,7 @@ gimp_brush_mipmap_get_memsize (GimpBrush *brush)
|
|||
{
|
||||
gint i;
|
||||
|
||||
for (i = 0;
|
||||
for (i = 1;
|
||||
i < brush->priv->n_horz_mipmaps * brush->priv->n_vert_mipmaps;
|
||||
i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue