Use new setting in screenshot command too

This commit is contained in:
Hielke Morsink committed 2019-06-09 11:03:01 +02:00
1 parent 5418eb6e34
commit e2d7b2cf03
1 file changed
+1 -1
+1 -1
View File
@@ -605,7 +605,7 @@ int32_t cmdline_for_screenshot(const char** argv, int32_t argc, ScreenshotOption
CheatsSet(CheatType::RemoveLitter);
}
if (options->transparent)
if (options->transparent || gConfigGeneral.transparent_screenshot)
{
viewport.flags |= VIEWPORT_FLAG_TRANSPARENT_BACKGROUND;
}