Pārlūkot izejas kodu

* pixels.c: fix uninitialised w and h in pipi_getpixels.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@2728 92316355-f0b4-4df1-b90c-862c8a59935f
remotes/tiles
sam pirms 16 gadiem
vecāks
revīzija
f6f7cbc060
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. +2
    -0
      pipi/pixels.c

+ 2
- 0
pipi/pixels.c Parādīt failu

@@ -90,6 +90,8 @@ pipi_pixels_t *pipi_getpixels(pipi_image_t *img, pipi_format_t type)
img->p[type].pixels = malloc(bytes);
img->p[type].bytes = bytes;
img->p[type].bpp = bpp;
img->p[type].w = img->w;
img->p[type].h = img->h;
}

/* Convert pixels */


Notiek ielāde…
Atcelt
Saglabāt