From 994a834df1b953b7c99b33418ada390a9a2eaa6d Mon Sep 17 00:00:00 2001 From: gxz Date: Mon, 18 Dec 2023 17:46:17 +0800 Subject: [PATCH] fix: fix close hardware acceleration will cause black screen issue --- ts/Renderer/WebGLRenderer/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/Renderer/WebGLRenderer/index.ts b/ts/Renderer/WebGLRenderer/index.ts index 59c44047c..2a54be74b 100644 --- a/ts/Renderer/WebGLRenderer/index.ts +++ b/ts/Renderer/WebGLRenderer/index.ts @@ -465,7 +465,7 @@ export class WebGLRenderer extends IRenderer { premultipliedAlpha: true, preserveDrawingBuffer: false, powerPreference: 'default', - failIfMajorPerformanceCaveat: true, + failIfMajorPerformanceCaveat: false, }); if (context) { return context as WebGLRenderingContext | WebGLRenderingContext;