Skip to content
Myr

update version number, minor docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sean Barrett · committed by Sean Barrett · parent febbc34 · Browse files · 2 files+11 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+11 added−4 removed

  • other:+11 added−4 removed

2 files+11 added−4 removed

modified:README.md+1 added-1 removed
modified:stb_image.h+10 added-3 removed
1/* stb_image - v1.49 - public domain JPEG/PNG reader - http://nothings.org/stb_image.c1/* stb_image - v2.00 - public domain image loader - http://nothings.org/stb_image.h2 no warranty implied; use at your own risk34 Do this:5 #define STB_IMAGE_IMPLEMENTATION6 before you include this file in *one* C or C++ file to create the implementation.78 #define STBI_ASSERT(x) to avoid using assert.h.9 #define STBI_MALLOC, STBI_REALLOC, and STBI_FREE to avoid using malloc,realloc,free8 // i.e. it should look like this:9 #include ...10 #include ...11 #include ...12 #define STB_IMAGE_IMPLEMENTATION13 #include "stb_image.h"1415 You can #define STBI_ASSERT(x) before the #include to avoid using assert.h.16 And #define STBI_MALLOC, STBI_REALLOC, and STBI_FREE to avoid using malloc,realloc,free171819 QUICK NOTES:20 Primarily of interest to game developers and other people who can21 avoid problematic images and only need the trivial interface22
6286 unmodified lines