figured it out there should probably be a glDisable(GL_TEXTURE_2D); added in model_loader.c