Instruct systems with 2 GPUs to use the low power GPU (to save battery)
This commit is contained in:
parent
0c5e5ef578
commit
6d3cbc573c
@ -93,6 +93,8 @@ const config: GameConfig = {
|
|||||||
debug: DEBUG_MODE,
|
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: {
|
callbacks: {
|
||||||
postBoot: game => {
|
postBoot: game => {
|
||||||
// Commented out to try to fix MacOS bug
|
// Commented out to try to fix MacOS bug
|
||||||
|
Loading…
Reference in New Issue
Block a user