removed unneeded line for debugging

This commit is contained in:
Phuntsok Drak-pa 2018-11-12 15:25:21 +01:00
parent a0b7b5e7cb
commit 30f17020e4

View File

@ -139,7 +139,6 @@ void dataToImage(Image *t_img, unsigned char *t_data, unsigned long t_size) {
t_img->pixels = darrayNew(sizeof(Pixel)); t_img->pixels = darrayNew(sizeof(Pixel));
printf("Size of data: %lu\n", t_size); printf("Size of data: %lu\n", t_size);
for (i = 0; i < t_size; i += 3) { for (i = 0; i < t_size; i += 3) {
printf("%lu\t", i);
darrayPushBack(t_img->pixels, darrayPushBack(t_img->pixels,
newPixel(t_data[i], t_data[i + 1], t_data[i + 2])); newPixel(t_data[i], t_data[i + 1], t_data[i + 2]));
} }