Add stb_image as an alternative to libpng.

This commit is contained in:
Henrik Rydgard committed 2012-10-26 11:19:07 +02:00
1 parent 652646119e
commit ce2be356b2
10 files changed
+4744 -6

No files matched your search

+1 -1
View File
@@ -380,7 +380,7 @@ bool LoadImage(const char *imagefile, Effect effect, Bucket *bucket) {
success = true;
} else {
success = img.LoadPNG(imagefile);
printf("loaded image: %ix%i\n", (int)img.dat[0].size(), (int)img.dat.size());
// printf("loaded image: %ix%i\n", (int)img.dat[0].size(), (int)img.dat.size());
}
if (!success) {
return false;