Posted 20 July 2012 - 10:29 AM
This is how I loaded each image:
SDL_Surface* img = IMG_Load(file);
"file" is just part of a this function: GLuint LoadTexture(const char* file)
Well, I'm at a loss, I didn't change the code since last use, and it worked fine then. Just so you know, I'm running Linux Mint as my OS with Code::Blocks as my IDE.
I don't understand what's going on, I have these same two images that have been in a minor little test project I have that were loaded and rendered to the screen. It worked when I last used it. Now today, probably a week or so later, I try to recompile it, it doesn't work. Same code, but I get an error that it's an unsupported image format. That's impossible. I used these images before, and they're simple jpg files.