mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
no need to async load raw assets on JSB
This commit is contained in:
@@ -176,7 +176,7 @@ function loadDepends (pipeline, item, asset, tdInfo, deferredLoadRawAssetsInRunt
|
||||
|
||||
// can deferred load raw assets in runtime
|
||||
function canDeferredLoad (asset, item, isScene) {
|
||||
if (CC_EDITOR) {
|
||||
if (CC_EDITOR || CC_JSB) {
|
||||
return false;
|
||||
}
|
||||
var res = item.deferredLoadRaw;
|
||||
|
||||
Reference in New Issue
Block a user