Merge branch 'optimize' of https://github.com/rygorous/stb into working

Conflicts:
	stb_image.h

Also disable VC6 automatic precompiled headers which were enabled in some projects.
This commit is contained in:
Sean Barrett
2014-12-14 01:57:22 -08:00
8 changed files with 72 additions and 42 deletions

View File

@ -43,7 +43,8 @@ int main(int argc, char **argv)
int n;
char **failed = NULL;
unsigned char *data;
printf("%s\n", files[i]);
printf(".");
//printf("%s\n", files[i]);
data = stbi_load(files[i], &w, &h, &n, 0); if (data) free(data); else stb_arr_push(failed, "&n");
data = stbi_load(files[i], &w, &h, 0, 1); if (data) free(data); else stb_arr_push(failed, "1");
data = stbi_load(files[i], &w, &h, 0, 2); if (data) free(data); else stb_arr_push(failed, "2");