[Fix] Glb converts 32bit index buffer to 16 if device does not support it (#2349)
[Fix] Glb converts 32bit index buffer to 16 if device does not support it (#2349)

* [Fix] Glb converts 32bit index buffer to 16 if device does not support it

* simpler code
playcanvas/engine,aidinabedi/playcanvas-engine,MicroWorldwide/PlayCanvas,aidinabedi/playcanvas-engine,MicroWorldwide/PlayCanvas,playcanvas/engine