some of the textures fail to render
As in "they're all black/white/transparent" or "I get some crash/exception"?
Does it affect some textures randomly or always the same? (if so which?) If it's "tankbarr.jpg" it may come from the image dimensions (which aren't powers of two).
Also if you have other textures that don't need mipmap (or don't even work with mipmaps), don't forget to

Code:
glTexParameteri(pTarget, GL_GENERATE_MIPMAP_SGIS, GL_FALSE);
at some point, or they'll get mipmapped too.