lel

Fork of Hiltjo's Farbfeld image viewer. (It was just for fun, not much use)
Log | Files | Refs | README | LICENSE

commit ea2fe74bd173dabd623c7135f762ebc5fee93a3e
parent 4bbceac600c004c4c9967e827c763667a94c989f
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sun, 18 Apr 2021 14:19:19 -0700

Remove unused function

Diffstat:
Mlel.c | 18------------------
1 file changed, 0 insertions(+), 18 deletions(-)

diff --git a/lel.c b/lel.c @@ -138,24 +138,6 @@ ff_close(struct img *img) free(img->buf); } -/* NOTE: will be removed later, for debugging alpha mask */ -#if 0 -static void -normalsize(char *newbuf) -{ - unsigned int x, y, soff = 0, doff = 0; - - for (y = 0; y < img.height; y++) { - for (x = 0; x < img.width; x++, soff += 4, doff += 4) { - newbuf[doff+0] = img.buf[soff+2]; - newbuf[doff+1] = img.buf[soff+1]; - newbuf[doff+2] = img.buf[soff+0]; - newbuf[doff+3] = img.buf[soff+3]; - } - } -} -#endif - static void loadimg(void) {