mirror of
https://github.com/solcloud/Counter-Strike.git
synced 2025-02-22 19:02:27 +01:00
Prefer high gpu performance
fix multiple gpu scenario
This commit is contained in:
parent
9944c72d94
commit
93c48e0e38
@ -41,7 +41,9 @@ export class World {
|
||||
camera.add(listener, povItem)
|
||||
this.#soundListener = listener
|
||||
|
||||
const glParameters = {}
|
||||
const glParameters = {
|
||||
powerPreference: 'high-performance',
|
||||
}
|
||||
if (!setting.shouldPreferPerformance()) {
|
||||
glParameters.antialias = true
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user