x || !x  = true

so this will always happen, which also means that mipmapping is now always turned off. I don't think that should be necessary (Although I really don't understand what the real problem is here, it's really weird).