Skip to content

🎥 Make videos programmatically with React

fallback for macOS

Jonny Burgerf207ab8cd4a8
diff --git a/packages/renderer/src/open-browser.ts b/packages/renderer/src/open-browser.ts
index 31ff737255..ec4c1cedde 100644
--- a/packages/renderer/src/open-browser.ts
+++ b/packages/renderer/src/open-browser.ts
@@ -32,7 +32,7 @@ export const openBrowser = async (
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-dev-shm-usage',
- '--use-gl=swiftshader',
+ process.platform === 'darwin' ? null : '--use-gl=egl',
process.platform === 'linux' ? '--single-process' : null,
].filter(Boolean) as string[],
});