From 51fda759cc5c35b47ee212715119b28e33c12912 Mon Sep 17 00:00:00 2001 From: Amy Bowersox Date: Wed, 11 Dec 2019 13:23:53 -0700 Subject: [PATCH] take out the test for size in mkgfx.c to make it more general --- buildutils/mkgfx.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/buildutils/mkgfx.c b/buildutils/mkgfx.c index 62e3edc..68e3ee2 100644 --- a/buildutils/mkgfx.c +++ b/buildutils/mkgfx.c @@ -211,14 +211,6 @@ int do_convert(const char *infilename, const char *outfilename) return -1; } - if ((image_width != 320) || (image_height != 240)) - { - readpng_cleanup(1); - fclose(fpin); - fprintf(stderr, "%s: image is %lux%lu, should be 320x240\n", infilename, image_width, image_height); - return -1; - } - if (readpng_get_bgcolor(infilename, &bg_red, &bg_green, &bg_blue)) { readpng_cleanup(1);