mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Disable VR Overlay GPU Acceleration
This commit is contained in:
@@ -8172,9 +8172,17 @@ speechSynthesis.getVoices();
|
||||
if ((await VRCXStorage.Get('VRCX_DisableGpuAcceleration')) === '') {
|
||||
await VRCXStorage.Set('VRCX_DisableGpuAcceleration', 'false');
|
||||
}
|
||||
if (
|
||||
(await VRCXStorage.Get('VRCX_DisableVrOverlayGpuAcceleration')) === ''
|
||||
) {
|
||||
await VRCXStorage.Set('VRCX_DisableVrOverlayGpuAcceleration', 'false');
|
||||
}
|
||||
$app.data.proxyServer = await VRCXStorage.Get('VRCX_ProxyServer');
|
||||
$app.data.disableGpuAcceleration =
|
||||
(await VRCXStorage.Get('VRCX_DisableGpuAcceleration')) === 'true';
|
||||
$app.data.disableVrOverlayGpuAcceleration =
|
||||
(await VRCXStorage.Get('VRCX_DisableVrOverlayGpuAcceleration')) ===
|
||||
'true';
|
||||
$app.data.disableWorldDatabase =
|
||||
(await VRCXStorage.Get('VRCX_DisableWorldDatabase')) === 'true';
|
||||
$app.methods.saveVRCXWindowOption = async function () {
|
||||
@@ -8199,6 +8207,10 @@ speechSynthesis.getVoices();
|
||||
'VRCX_DisableGpuAcceleration',
|
||||
this.disableGpuAcceleration.toString()
|
||||
);
|
||||
VRCXStorage.Set(
|
||||
'VRCX_DisableVrOverlayGpuAcceleration',
|
||||
this.disableVrOverlayGpuAcceleration.toString()
|
||||
);
|
||||
AppApi.SetStartup(this.isStartAtWindowsStartup);
|
||||
};
|
||||
$app.data.photonEventOverlay = await configRepository.getBool(
|
||||
|
||||
Reference in New Issue
Block a user