Changed textures to round down to power of two.
redundant state setup