Comment out code for html5
Support rectangle textures