Making textures square and the power-of-two