Fix unused variable warning when USE_APNG is not defined
This commit is contained in:
parent
8c97583779
commit
1254f691ee
|
@ -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_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);
|
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
|
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
|
boolean takescreenshot = false; // Take a screenshot this tic
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue