fix settings page not showing
This commit is contained in:
parent
6540825985
commit
8e4f219000
2 changed files with 7 additions and 3 deletions
|
@ -2389,8 +2389,12 @@ var checkIfScrollIsStatic = setInterval(() => {
|
|||
|
||||
// WebGPU Console Notification
|
||||
async function webGPU() {
|
||||
const currentGPU = await navigator.gpu.requestAdapter()
|
||||
console.log("WebGPU enabled on", currentGPU.name, "with feature ID", currentGPU.features.size)
|
||||
try{
|
||||
const currentGPU = await navigator.gpu.requestAdapter()
|
||||
console.log("WebGPU enabled on", currentGPU.name, "with feature ID", currentGPU.features.size)
|
||||
} catch (e) {
|
||||
console.log("WebGPU disabled / WebGPU initialization failed")
|
||||
}
|
||||
}
|
||||
|
||||
webGPU().then()
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
<small>(Requires relaunch)</small>
|
||||
</div>
|
||||
<div class="md-option-segment md-option-segment_auto">
|
||||
<select class="md-select" style="width:180px;" v-model="app.cfg.behavior.hw_acceleration">
|
||||
<select class="md-select" style="width:180px;" v-model="app.cfg.visual.hw_acceleration">
|
||||
<option value="default">Default</option>
|
||||
<option value="webgpu">WebGPU</option>
|
||||
<option value="disabled">Disabled</option>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue