Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli-only commands require a SDL context #305

Open
fgaz opened this issue Nov 18, 2021 · 0 comments
Open

cli-only commands require a SDL context #305

fgaz opened this issue Nov 18, 2021 · 0 comments

Comments

@fgaz
Copy link

fgaz commented Nov 18, 2021

LibreSprite version
1.0
Describe the bug

Libresprite tries to create a SDL context even for cli-only actions

To Reproduce

In a cli-only environment:

$ libresprite --version
Critical: Could not initialize SDL2. Aborting.

Other cli-only commands (--help, --script) probably have the same issue

Expected behaviour

LibreSprite 1.0

OS/Hardware
  • Operative System: NixOS Linux
  • CPU: not relevant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants