Browse Source

Change screenshot flag to -t [zoom]. Re-enable on Mac.

tags/v1.1.5
Andrew Belt 5 years ago
parent
commit
ac5e544d62
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      src/main.cpp

+ 2
- 4
src/main.cpp View File

@@ -77,14 +77,12 @@ int main(int argc, char* argv[]) {
case 'h': {
settings::headless = true;
} break;
#if !defined ARCH_MAC
// Due to Mac app translocation and Apple adding a -psn... flag when launched, disable screenshots on Mac for now.
case 'p': {
case 't': {
screenshot = true;
// If parsing number failed, use default value
sscanf(optarg, "%f", &screenshotZoom);
std::sscanf(optarg, "%f", &screenshotZoom);
} break;
#endif
case 's': {
asset::systemDir = optarg;
} break;


Loading…
Cancel
Save