Engine creation options probably small bug

Hi. babyloners!

Probably i faced up with small bug:

engine = new Engine(canvas, true, {powerPreference:'low-power'});
console.log(engine.getCreationOptions().powerPreference); // 'hight-performance'

or it works somehow else?

To set powerPreference you need to also set “doNotHandleContextLost” to true (in the engine creation options). otherwise it is overwritten.


Thank you for fast answer! Got it )