mipmap levels were coming out hosed. Adding a call to xglPixelStorei(GL_UNPACK_ALIGNMENT, 4); restores it to the default setting which was getting set to something else in other parts of the code.