Commit Graph

153 Commits

Author SHA1 Message Date
Sean Barrett
caf6d08f2b Merge branch 'master' of https://github.com/Skylark13/stb into working 2014-08-16 13:50:16 -07:00
Sean Barrett
b36f9908ce Merge branch 'master' of https://github.com/thedmd/stb into working
Conflicts:
	stb_image.h
2014-08-16 13:45:32 -07:00
Jean-Sébastien Guay
ebc2d23d47 realized the 2 colorbytes case is impossible.
also updated the comment at the top of the file to reflect stbi_write_tga's new capabilities.
2014-08-09 09:16:57 -04:00
Jean-Sébastien Guay
26a71f67fe comment was wrong way around... code was right. 2014-08-09 01:08:43 -04:00
Jean-Sébastien Guay
b8b364c301 stbi_write_tga can now write 1 and 2 channel (grayscale and grayscale-alpha) images. 2014-08-09 00:34:49 -04:00
Michał Cichoń
10def9b150 fix MSVC-ARM internal compiler error by wrapping malloc
For some reason Microsoft CL compiler for ARM is unable to compile malloc when parameter is an expression. malloc(x * y) will cause internal compiler error, malloc(x) is however fine.
2014-08-08 00:46:45 +02:00
Sean Barrett
aaea13b71c version numbers 2014-08-07 04:46:29 -07:00
Sean Barrett
c8a3522a5f version number 2014-08-07 04:46:13 -07:00
Sean Barrett
29f59c0460 update version number 2014-08-07 04:44:17 -07:00
Sean Barrett
d26beed67d comments/ version update for platformID = Unicode 2014-08-07 04:41:02 -07:00
Sean Barrett
0adfac0abe Merge branch 'master' of https://github.com/HouQiming/stb into working 2014-08-07 04:35:51 -07:00
Sean Barrett
85c39da625 Merge branch 'rc/const' of https://github.com/ronnychevalier/stb into working 2014-08-07 04:25:12 -07:00
Ronny Chevalier
2119c17ae9 stb_vorbis: fix unused variables
Conflicts:
	stb_vorbis.c
2014-08-07 04:23:33 -07:00
Sean Barrett
260741ed33 vorbis warnings from ronny chevalier
I manually made these changes because they
disabled some substantial amounts of code,
and I wanted to make sure this wasn't due to
original code having bugs or deviating from
the specification
2014-08-07 04:20:58 -07:00
Ronny Chevalier
758c165d2c stb_vorbis: fix unused functions 2014-08-07 03:26:27 -07:00
Ronny Chevalier
b8b6e7c31a stb_image: fix unused parameter 2014-08-07 03:26:20 -07:00
Ronny Chevalier
422e29017c stb_vorbis: fix signed/unsigned comparison 2014-08-07 03:26:14 -07:00
Ronny Chevalier
893ef013b2 stb_image: fix undefined preprocessor definition 2014-08-07 03:26:08 -07:00
Ronny Chevalier
c28e92e856 stb_vorbis: use const char* when appropriate 2014-08-03 23:43:54 +02:00
Sean Barrett
ee8e926317 even more resampling notes 2014-07-22 12:45:24 -07:00
Sean Barrett
92b08aa98a more resampling notes 2014-07-22 12:39:29 -07:00
Sean Barrett
6f779fb67a whoops imageresampler link 2014-07-22 12:17:43 -07:00
Sean Barrett
9c9a68787d imageresampler library reference 2014-07-22 12:16:11 -07:00
Sean Barrett
3e8a89cad1 more resampler notes 2014-07-22 11:57:46 -07:00
Sean Barrett
c27ccec436 resampler prototypes 2014-07-22 11:37:54 -07:00
Sean Barrett
63cce5c70a created stb_resample_ideas.txt 2014-07-22 10:05:01 -07:00
Sean Barrett
bcefca10f7 fix bad fix in previous fix 2014-07-15 22:26:01 -07:00
Sean Barrett
75b9e9cc1b update stb_image version number 2014-07-09 23:45:58 -07:00
Sean Barrett
b2cbed2634 Merge branch 'working' 2014-07-09 23:44:48 -07:00
Sean Barrett
1eb665906e cdecl fixes 2014-07-09 23:41:40 -07:00
Sean Barrett
68b5ec9392 fix cdecl 2014-07-09 23:39:00 -07:00
Sean Barrett
e0d86b0f5c STBI_ASSERT 2014-07-09 23:35:25 -07:00
Sean Barrett
3bf91543f4 revert img_n=0 initialization to original location 2014-07-09 23:26:03 -07:00
Sean Barrett
a2b9aa8d06 modifiy jpeg img_n fix
switch from fopen to fopen_s on later MSVCs
2014-07-09 23:23:48 -07:00
Sean Barrett
70de0adb28 Merge branch 'master' of https://github.com/LysanderGG/stb into working 2014-07-09 23:03:32 -07:00
Sean Barrett
932d485146 fix warnings in certain console compilers 2014-07-09 23:01:29 -07:00
Lysander
efd6b2698f Fix crash when trying to load progressive jpeg due to uninitialized s->img_n
Proper pointer check before deleting
2014-07-09 22:41:22 +09:00
Sean Barrett
2da2806d20 update version numbers due to warnings/minor fixes 2014-07-07 16:24:11 -07:00
nothings
0cc827fe2a Merge pull request #15 from nodj/master
minor warn correction
2014-07-07 16:20:34 -07:00
nothings
a55eae20dc Merge pull request #17 from Gargaj/patch-1
Explicit CDECL needed for qsort comparison function
2014-07-07 16:19:30 -07:00
Gargaj
72f06c2996 Explicit CDECL needed
QSORT only takes CDECL, but project settings can define different defaults for calling conventions.
2014-07-07 23:58:50 +02:00
Sean Barrett
e454b82a78 remove tabs 2014-07-07 07:46:39 -07:00
Sean Barrett
1dcaa6059e add stb_herringbone_wang_tile 2014-07-07 07:41:07 -07:00
Sean Barrett
055137e3fa more useful URL 2014-07-07 07:39:52 -07:00
Sean Barrett
e8dbc6d9db documentation & license 2014-07-07 07:34:37 -07:00
Sean Barrett
6918b443e2 stb_herringbone_wang_tile sample data 2014-07-07 07:13:45 -07:00
Sean Barrett
816f31e9bc fixes and tests 2014-07-07 04:54:52 -07:00
Sean Barrett
4b590c0a62 first pass at stb-izing complete, now need to debug 2014-07-04 09:34:57 -07:00
Sean Barrett
88c99e47fb initial commit 2014-07-04 08:06:36 -07:00
HouQiming
8c83fc2bad Added STBTT_PLATFORM_ID_UNICODE
Added a STBTT_PLATFORM_ID_UNICODE clause to support iOS/Mac fonts
2014-07-02 18:58:52 +08:00