We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c7e3a2 commit eb3ca49Copy full SHA for eb3ca49
test/init.js
@@ -1,5 +1,6 @@
1
const { platform } = require('node:process');
2
const three = require('three');
3
+const glfw = require('glfw-raub');
4
5
const { init, addThreeHelpers } = require('..');
6
@@ -13,6 +14,10 @@ const initOptsMac = {
13
14
isWebGL2: false,
15
};
16
17
+if (platform === 'darwin') {
18
+ glfw.windowHint(glfw.STENCIL_BITS, 8);
19
+}
20
+
21
const inited = init(platform === 'darwin' ? initOptsMac : initOpts);
22
addThreeHelpers(three, inited.gl);
23
0 commit comments