This test wasn't support to be there at first.
This commit is contained in:
@@ -48,10 +48,5 @@ bool Canvas::SaveAsPNG(const char *filename)
|
|||||||
{
|
{
|
||||||
uint32_t ret = lodepng_encode24_file(filename, this->bitmap, this->width, this->height);
|
uint32_t ret = lodepng_encode24_file(filename, this->bitmap, this->width, this->height);
|
||||||
|
|
||||||
if (ret > 0)
|
|
||||||
{
|
|
||||||
printf("lodepng_encode_file returned %d!\n", ret);
|
|
||||||
}
|
|
||||||
|
|
||||||
return ret == 0;
|
return ret == 0;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user