TGA/PNG loader working with MingW?

Anybody know where to get the source for a TGA or PNG loader for MingW

I’ve tried tons and tons of non-working TGA/PNG loaders

BTW: I got the paricle engine up and running again (I used drawStars; instead of drawStars(); feels stupid)

You also can try a source that’s write with VC.

Try the one in the GLFW source distribution: