Added flash and html5 CPU generation of mipmaps back in. html5 should support it on GPU but doesn't seem to work atm.