[SOLVED]GL doesn't properly display the image.
Posted: Mon Mar 04, 2013 5:12 pm
I've been working on an engine for a 2D RPG (like the originality?), and recently transitioned from using SDL for drawing to the framebuffer, to the almighty OpenGL. I've migrated pretty much everything over to GL, except images either wont load correctly, or aren't being displayed correctly. Here's a picture (yes, the test sprite is a dick. I'm not the artist in the project)
I wouldn't think the issue would be byte alignment, seeing as the sheet is 512x1024 pixels, but what the hell do I know. Does anyone know what the hell I did to anger the gods? I can post whatever snippets of code anyone needs to see.
I wouldn't think the issue would be byte alignment, seeing as the sheet is 512x1024 pixels, but what the hell do I know. Does anyone know what the hell I did to anger the gods? I can post whatever snippets of code anyone needs to see.