Instruct systems with 2 GPUs to use the low power GPU (to save battery)

This commit is contained in:
David Négrier 2021-04-23 17:25:17 +02:00
parent 0c5e5ef578
commit 6d3cbc573c

View File

@ -93,6 +93,8 @@ const config: GameConfig = {
debug: DEBUG_MODE,
}
},
// Instruct systems with 2 GPU to choose the low power one. We don't need that extra power and we want to save battery
powerPreference: "low-power",
callbacks: {
postBoot: game => {
// Commented out to try to fix MacOS bug