stb_image.h: fix *comp value when loading PSDs

stb_voxel_render.h: fix STBVOX_CONFIG_OPTIMIZED_VHEIGHT
This commit is contained in:
Sean Barrett
2015-05-28 22:11:45 -07:00
parent 947bdcd027
commit aa89970d6b
5 changed files with 18 additions and 15 deletions

View File

@ -8,11 +8,10 @@ extern void stb_vorbis_dumpmem(void);
int main(int argc, char **argv)
{
size_t memlen;
unsigned char *mem = stb_fileu("c:/x/01.ogg", &memlen);
unsigned char *mem = stb_fileu("c:/x/theme_03.ogg", &memlen);
int chan, samplerate;
short *output;
int samples = stb_vorbis_decode_memory(mem, memlen, &chan, &samplerate, &output);
stb_vorbis_dumpmem();
return 0;
}
#endif