Support for non-power-of-two textures