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

Make ShallowTexture constructor throw exception if image file can't be loaded #8

Closed
LunaTheFoxgirl opened this issue Sep 21, 2021 · 0 comments
Labels
Bug Something isn't working

Comments

@LunaTheFoxgirl
Copy link
Member

Currently damaged or invalid files sent in to ShallowTexture is likely to cause segmentation faults. Avoid that by throwing an exception when instantiating ShallowTexture with an invalid texture.

@LunaTheFoxgirl LunaTheFoxgirl changed the title Make ShallowNode constructor throw exception if image file can't be loaded Make ShallowTexture constructor throw exception if image file can't be loaded Sep 21, 2021
@LunaTheFoxgirl LunaTheFoxgirl added the Bug Something isn't working label Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant