I created a simple OpenGL program that display a quad with texture, but it doesn’t seem to be working as it only displays a white quad. What could possibly be wrong? I checked everything I could think of that could cause the issue. The bitmap is also 256×256. Any clues?
Here’s the source code: http://pastebin.com/5nVbMPVp
I’m also on Linux if that helps. Thanks!