mirror of https://github.com/mgba-emu/mgba.git
Util: Fix warning when libpng is disabled
This commit is contained in:
parent
bbdcb8b83b
commit
f637b5b1e8
|
@ -296,6 +296,10 @@ bool mImageSaveVF(const struct mImage* image, struct VFile* vf, const char* form
|
|||
if (strcasecmp(format, "png") == 0) {
|
||||
return mImageSavePNG(image, vf);
|
||||
}
|
||||
#else
|
||||
UNUSED(image);
|
||||
UNUSED(vf);
|
||||
UNUSED(format);
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue