take out the test for size in mkgfx.c to make it more general

This commit is contained in:
Amy Bowersox 2019-12-11 13:23:53 -07:00
parent 1b4cbfae63
commit 51fda759cc

View File

@ -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);