Merge branch 'no-apng-compile-fix' into 'next'

Fix unused variable warning when USE_APNG is not defined

See merge request STJr/SRB2!1343
This commit is contained in:
SteelT 2021-03-25 14:02:23 -04:00
commit fa8947ad8f
1 changed files with 2 additions and 0 deletions

View File

@ -165,7 +165,9 @@ consvar_t cv_zlib_window_bitsa = CVAR_INIT ("apng_window_size", "32k", CV_SAVE,
consvar_t cv_apng_delay = CVAR_INIT ("apng_speed", "1x", CV_SAVE, apng_delay_t, NULL);
consvar_t cv_apng_downscale = CVAR_INIT ("apng_downscale", "On", CV_SAVE, CV_OnOff, NULL);
#ifdef USE_APNG
static boolean apng_downscale = false; // So nobody can do something dumb like changing cvars mid output
#endif
boolean takescreenshot = false; // Take a screenshot this tic