Adds better warning/error in case of non pot textures