Original Post
I have always used gluBuild2DMipmaps in my texture manager, but I needed to use glTexImage2D to test something out. Anyway, no matter what I do, glTexImage2D will not work. Mipmaps: glTexImage2D all I get with glTexImage2D is a blank white texture. I have tried all sorts of things but it just will not work! Any ideas?
gluBuild2DMipmaps( GL_TEXTURE_2D, 3, texture->image.GetWidth( ),
texture->image.GetHeight( ), GL_RGB,
GL_UNSIGNED_BYTE, texture->image.GetPixels( ) );
glTexImage2D( GL_TEXTURE_2D, 0, 3, texture->image.GetWidth( ),
texture->image.GetHeight( ), 0, GL_RGB,
GL_UNSIGNED_BYTE, texture->image.GetPixels() );