Commit Graph

941 Commits

Author SHA1 Message Date
James Hofmann b0d162d829 DMC doesn't accept struct initializer syntax
It expects constants. The long way compiles (but I haven't actually called this function yet)
2015-09-12 05:45:39 -07:00
Nathan Reed 26c98260b6 Fix warnings about "conversion to a greater size" that appear in VS2015 in x64 with /W4.
The warning concerns the return value of stbi_err, which is an int, being converted to a pointer. In VS2015 it seems casting directly from a 32-bit int to a 64-bit pointer triggers this warning. Worked around by first converting to a 64-bit int (here size_t) and then to a pointer.
2015-09-10 01:20:35 -07:00
Nathan Reed 6d613ed8ce Fix variable-shadowing warnings that appear in VS2015 on /W4 2015-09-10 01:13:54 -07:00
Sean Barrett 7ac0f9c9b0 fix typo in accidentally-checked-in stb_image.h 2015-09-03 22:55:01 -07:00
Sean Barrett 4743a1a6e6 update stb_vorbis 2015-09-03 11:20:24 -07:00
Sean Barrett 60939ec653 fix some more signed shifts 2015-09-03 11:18:40 -07:00
Sean Barrett a3d62dfec1 fix a few crash bugs with invalid stb_vorbis files (reported by Philip Bennefall, found using a fuzz tester) 2015-09-03 11:16:19 -07:00
Sean Barrett 7670656322 fix some signed shifts that should have been unsigned for C spec reasons 2015-09-03 10:24:01 -07:00
Sean Barrett 0e24ec5feb fix some cases that didn't return outofmem error properly and would crash instead 2015-09-03 07:11:02 -07:00
Sean Barrett a009673856 update stb_vorbis version 2015-08-31 12:49:03 -07:00
Sean Barrett c15190373c add missing changes to project file 2015-08-30 19:31:36 -07:00
Sean Barrett ebb54fd7a3 seeking in stb_vorbis (Dougall Johnson)
test program for seeking (stb)
2015-08-30 19:29:35 -07:00
Sergey Popov f24f92bcc7 Fix -Wextra warning in stb_truetype.h 2015-08-19 14:36:09 +03:00
Vincent Isambart 09e1972fed fix clang warnings 2015-08-08 10:45:26 +09:00
rwhitworth 0c0a619ca4 Updated to compile with Visual Studio 2015 2015-08-05 22:27:53 -04:00
urraka 23dfb8c06b GIF loading improvements.
- Fixed possible memory leak.
- Fix for transparent backgrounds.
- Adapted internal function to allow proper animation loading.
2015-08-03 22:59:16 -03:00
Sean Barrett c9859afcf9 reverse some of the public-domain-license changes that I didn't
actually want
2015-08-01 23:53:49 -07:00
Ryan Whitworth 594502e5fa Added public domain license text 2015-08-01 14:59:39 -04:00
Ryan Whitworth 85d0adda25 Added public domain license text 2015-08-01 14:59:03 -04:00
Ryan Whitworth f844b2dbd2 Added public domain license text 2015-08-01 14:57:53 -04:00
Ryan Whitworth 4727cdd8c0 Added public domain license text 2015-08-01 14:56:45 -04:00
Ryan Whitworth 76edb4ec4e Added public domain license text 2015-08-01 14:56:04 -04:00
Ryan Whitworth 7effe64e45 Added public domain license text 2015-08-01 14:55:35 -04:00
Ryan Whitworth 35e2f7e739 Added public domain license text 2015-08-01 14:54:57 -04:00
Ryan Whitworth 5a7d524fd8 Added public domain license text 2015-08-01 14:54:27 -04:00
Ryan Whitworth 45b27d8a9c Added public domain license text 2015-08-01 14:54:05 -04:00
Ryan Whitworth 1d48782e1d Added public domain license text 2015-08-01 14:53:00 -04:00
Ryan Whitworth f0e456b809 Added public domain license text 2015-08-01 14:52:12 -04:00
Ryan Whitworth 6695bc4e18 Added public domain license text 2015-08-01 14:50:51 -04:00
Ryan Whitworth fa464b33ac Added public domain license text 2015-08-01 14:49:15 -04:00
Ryan Whitworth 55ff60818e Added public domain license text 2015-08-01 14:48:37 -04:00
Ryan Whitworth 242b1fe37a Added public domain license text 2015-08-01 14:48:08 -04:00
Ryan Whitworth 4ab69f3b2c Added public domain license text 2015-08-01 14:46:52 -04:00
Ryan Whitworth 9e9ce0ab91 Added public domain license text 2015-08-01 14:46:04 -04:00
Sean Barrett 59c353962a update readme version numbers 2015-08-01 04:18:27 -07:00
Sean Barrett c1cb414bc6 stb_voxel_render.h version 0.82 2015-08-01 04:17:38 -07:00
Sean Barrett ad57cd038b fix assert() to be STBTT_assert() 2015-08-01 04:16:19 -07:00
Sean Barrett 4ea7744980 fix incorrect tex_overlay2 handling 2015-08-01 04:15:55 -07:00
Sean Barrett 2afb815509 Merge branch 'add_up_down_checks_to_geometry' of https://github.com/friesencr/stb 2015-08-01 04:08:21 -07:00
Sean Barrett cb528122e5 Merge branch 'master' of https://github.com/cjxgm/stb into working 2015-08-01 04:05:43 -07:00
Sean Barrett c6ee732c79 allow finer-grained PackFontRanges with Gather & Render;
allow discontinuous codepoints in PackFontRanges;
fix bug in GetFontOffsetForIndex (non-0 index never worked?);
tweak public domain license
2015-08-01 04:04:54 -07:00
Sean Barrett e637834865 Merge branch 'master' of https://github.com/ocornut/stb into working 2015-08-01 04:03:19 -07:00
Sean Barrett a200fab163 add some minor comments 2015-08-01 04:02:21 -07:00
Sean Barrett d821fd83f3 Merge branch 'master' into working
Conflicts:
	stb_voxel_render.h
2015-08-01 04:02:00 -07:00
Joshua Sheard 5305ffbe49 Include math.h for ceil() 2015-07-29 17:00:44 +00:00
rmitton 6645ea5915 Fixed stupid endianness bug.
Incorrect endianness hilariously doesn't manifest _if_ the original
image was upconverted from 8-bit to 16-bit.
2015-07-24 12:00:09 -07:00
Giumo X. Clanjor (哆啦比猫/兰威举) 3159971d85 stb_truetype: fix wrong result returned by stbtt_GetFontOffsetForIndex
fixed the typo in stbtt_GetFontOffsetForIndex, where the field size should be 4 instead of 14.
2015-07-20 23:18:47 +08:00
ocornut 52845885c4 Merge remote-tracking branch 'upstream/master' 2015-07-15 12:08:29 -06:00
ocornut 34ed8ff096 Merge branch 'nothings/master' 2015-07-15 12:01:27 -06:00
Sean Barrett 93fb372028 update stb_truetype version 2015-07-14 18:23:46 -07:00