mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 12:20:20 +01:00
Ignore experimental-webgl errors from three.js
This commit is contained in:
parent
1a688c2300
commit
2c50ca497e
|
|
@ -34,6 +34,10 @@ export const EXCLUDED_CONSOLE_LOGS = (browserName: string): string[] => {
|
|||
"Error creating WebGL context",
|
||||
"'experimental-webgl' (value of argument 1) is not a valid value"
|
||||
);
|
||||
} else if (browserName === "webkit") {
|
||||
excludedConsoleLogs.push(
|
||||
'THREE.WebGLRenderer: Argument 1 (\'contextType\') to OffscreenCanvas.getContext must be one of: "2d", "webgl", "webgl2", "bitmaprenderer", "webgpu"'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user