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

Change stbi to directly decode into the provided memory #407

Open
luboslenco opened this issue Aug 5, 2019 · 1 comment
Open

Change stbi to directly decode into the provided memory #407

luboslenco opened this issue Aug 5, 2019 · 1 comment

Comments

@luboslenco
Copy link
Contributor

luboslenco commented Aug 5, 2019

Change stb to directly decode into the provided memory and only use the buffer for temporary things.

Kinc image loading:
https://github.com/Kode/Kinc/blob/master/Sources/kinc/image.c

stb_image lib:
https://github.com/Kode/Kinc/blob/master/Sources/kinc/libs/stb_image.h

Related:
nothings/stb#58

@luboslenco
Copy link
Contributor Author

This is still an issue - if someone already had a look then posting any findings is welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant