Fix crash when setting supportRenderPasses
Fix crash when setting supportRenderPasses

RaananW/Babylon.js,BabylonJS/Babylon.js,sebavan/Babylon.js,sebavan/Babylon.js,RaananW/Babylon.js,BabylonJS/Babylon.js,sebavan/Babylon.js,RaananW/Babylon.js,BabylonJS/Babylon.js