From fd20b561be30c5cf3c8f4deabd319db4d2e7b183 Mon Sep 17 00:00:00 2001 From: ChiaNing Date: Thu, 4 Nov 2021 12:44:24 +0800 Subject: [PATCH] remove GPU_DRIVEN flag (#9617) --- cocos/core/default-constants.ts | 1 + editor/engine-features/render-config.json | 9 +-------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/cocos/core/default-constants.ts b/cocos/core/default-constants.ts index aa9260703e..4e15d5ad5e 100644 --- a/cocos/core/default-constants.ts +++ b/cocos/core/default-constants.ts @@ -63,3 +63,4 @@ export const VIVO = tryDefineGlobal('CC_VIVO', false); // @ts-expect-error export const SUPPORT_JIT = tryDefineGlobal('CC_SUPPORT_JIT', ('function' === typeof loadRuntime)); export const SERVER_MODE = false; +export const UI_GPU_DRIVEN = false; diff --git a/editor/engine-features/render-config.json b/editor/engine-features/render-config.json index e1b5fc8482..8e23daabfd 100644 --- a/editor/engine-features/render-config.json +++ b/editor/engine-features/render-config.json @@ -39,14 +39,7 @@ "label": "i18n:ENGINE.features.base_2d.label", "description": "i18n:ENGINE.features.base_2d.description", "category": "2d", - "wechatPlugin": true, - "flags": { - "UI_GPU_DRIVEN": { - "default": true, - "label": "i18n:ENGINE.features.gpu_driven.label", - "description": "i18n:ENGINE.features.gpu_driven.description" - } - } + "wechatPlugin": true }, "ui": { "default": ["ui"],