Anonymous user
Loading Icons: Difference between revisions
Don't link to ancient version of stb_image that doesn't even have the functions this references.
[unchecked revision] | [unchecked revision] |
mNo edit summary |
(Don't link to ancient version of stb_image that doesn't even have the functions this references.) |
||
Line 129:
Using these is not a simple thing to do. Definitely more complex than those ca. 80 SLoC above. You could port libpng, libjpeg, etc. but that's not an easy task either. They usually have their dependencies on their own, including setjmp and longjmp, and it is not trivial to use libpng's API for example.
Instead, use [https://
<source lang="c">
#define STBI_IMPLEMENTATION
|