libgdx/libgdx — pull request #168 by cwjenkins (2012-12-25 19:41:50+00:00)
Title: Added getFailureReason to Gdx2DPixmap

Looks like my fork was several commits behind :) Try now.

This adds getFailureReason to Gdx2DPixmap to display the contents of const char *failure_reason in stb_image.c if it fails to load an image. I originally had an issue loading a progressive jpeg which isn't supported by stb_image.c. For new comers like myself, we can now see why stb_image failed to load an image.