mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
Actually support no apng patch
This commit is contained in:
parent
488285e510
commit
5d3a657a41
1 changed files with 4 additions and 0 deletions
|
|
@ -279,7 +279,11 @@ apng_set_set_acTL_fn (png_structp pngp, apng_infop ainfop,
|
||||||
{
|
{
|
||||||
(void)pngp;
|
(void)pngp;
|
||||||
if (!ainfop->set_acTL_fn)
|
if (!ainfop->set_acTL_fn)
|
||||||
|
#ifndef PNG_WRITE_APNG_SUPPORTED
|
||||||
|
ainfop->set_acTL_fn = &apng_set_acTL_dummy;
|
||||||
|
#else
|
||||||
ainfop->set_acTL_fn = &png_set_acTL;
|
ainfop->set_acTL_fn = &png_set_acTL;
|
||||||
|
#endif/* PNG_WRITE_APNG_SUPPORTED */
|
||||||
else
|
else
|
||||||
ainfop->set_acTL_fn = set_acTL_f;
|
ainfop->set_acTL_fn = set_acTL_f;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue