Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GengineJS committed Dec 17, 2024
1 parent 3c2ed35 commit 1a1a3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/cocos/renderer/pipeline/custom/NativePipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ void buildLayoutGraphNodeBuffer(
se::Value buildRPVal;
void buildRenderPipeline() {
if (buildRPVal.isUndefined()) {
auto global = se::ScriptEngine::getInstance()->getGlobalObject();
auto *global = se::ScriptEngine::getInstance()->getGlobalObject();
se::Value jsbVal;
if(global->getProperty("jsb", &jsbVal) && jsbVal.isObject()) {
jsbVal.toObject()->getProperty("buildRenderPipeline", &buildRPVal);
Expand Down

0 comments on commit 1a1a3dd

Please sign in to comment.