We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0c48fa commit c3aee87Copy full SHA for c3aee87
1 file changed
gcs/electron/main.ts
@@ -24,6 +24,14 @@ process.env.VITE_PUBLIC = app.isPackaged
24
app.commandLine.appendSwitch('high-dpi-support', '1')
25
app.commandLine.appendSwitch('force-device-scale-factor', '1')
26
27
+// Fix linux WebGL error (icl chatgpt made this)
28
+if (process.platform === 'linux') {
29
+ app.commandLine.appendSwitch('use-gl', 'desktop'); // force mesa
30
+ app.commandLine.appendSwitch('ignore-gpu-blacklist'); // allow iris, etc.
31
+ app.commandLine.appendSwitch('enable-webgl');
32
+ app.commandLine.appendSwitch('enable-webgl2-compute-context');
33
+}
34
+
35
let win: BrowserWindow | null
36
let loadingWin: BrowserWindow | null
37
let webcamPopoutWin: BrowserWindow | null
0 commit comments