I\'m trying to load a bitmap into an OpenGL texture and display it to the screen, but when I do so, the red and blue values seem to switch (e.g.: a blue image appears orange
I had a similar issue a while back. Try setting GL_RBG in glTexImage2D to GL_BGR.
GL_RBG
glTexImage2D
GL_BGR