fix: Disallow returning WebGL2 constants when only WebGL1 is available
fix: Disallow returning WebGL2 constants when only WebGL1 is available


BabylonJS/Babylon.js,NicolasBuecher/Babylon.js,RaananW/Babylon.js,RaananW/Babylon.js,jbousquie/Babylon.js,NicolasBuecher/Babylon.js,sebavan/Babylon.js,BabylonJS/Babylon.js,RaananW/Babylon.js,Kesshi/Babylon.js,jbousquie/Babylon.js,Kesshi/Babylon.js,NicolasBuecher/Babylon.js,Kesshi/Babylon.js,sebavan/Babylon.js,jbousquie/Babylon.js,sebavan/Babylon.js,BabylonJS/Babylon.js