forked from openkylin/kylin-code
fixed FT-2000-4 kylinos-2203终端开启webgl渲染有问题.
This commit is contained in:
parent
16e5c83bf4
commit
6fb0f62d4d
|
@ -461,7 +461,9 @@ export class XtermTerminal extends DisposableStore implements IXtermTerminal {
|
|||
const debugInfo = checkGl?.getExtension('WEBGL_debug_renderer_info');
|
||||
if (checkGl && debugInfo) {
|
||||
const renderer = checkGl.getParameter(debugInfo.UNMASKED_RENDERER_WEBGL);
|
||||
if (renderer.startsWith('ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero)')) {
|
||||
this._logService.debug(`Webgl Webgl renderer=${renderer}`);
|
||||
if (renderer.startsWith('ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (Subzero)') /*x64*/
|
||||
|| renderer.startsWith('ANGLE (Google, Vulkan 1.3.0 (SwiftShader Device (LLVM 10.0.0)') /*FT-2000-4,arm64*/) {
|
||||
this._disableWebglForThisSession();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue