Quellcode durchsuchen

* 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 vor 16 Jahren
Ursprung
Commit
f6f7cbc060
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. +2
    -0
      pipi/pixels.c

+ 2
- 0
pipi/pixels.c Datei anzeigen

@@ -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 */


||||||
x
 
000:0
Laden…
Abbrechen
Speichern