There was an error while loading. Please reload this page.
1 parent 831361a commit 4a13c85Copy full SHA for 4a13c85
1 file changed
test/init.ts
@@ -1,10 +1,8 @@
1
-// oxlint-disable node/no-process-env
2
import { platform } from 'node:process';
3
import * as three from 'three';
4
import type { TGlfw, TInitOpts } from '../ts/types.ts';
5
6
-const isCi = process.env.CI === 'true' || process.env.GITHUB_ACTIONS === 'true';
7
-const shouldUseHeadlessGlfw = platform === 'darwin' || (platform === 'linux' && isCi);
+const shouldUseHeadlessGlfw = platform === 'darwin';
8
9
const applyHeadlessWindowHints = (currentGlfw: TGlfw): void => {
10
currentGlfw.windowHint(currentGlfw.VISIBLE, currentGlfw.FALSE);
0 commit comments