Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.8 version OHOS adaptation #20829

Open
wants to merge 2 commits into
base: cocos2d-x-3.8-oh
Choose a base branch
from

Conversation

xqg243795168
Copy link

3.8 version OHOS adaptation

3.8  version OHOS adaptation
add appveyor.yml
@@ -363,8 +363,11 @@ GLProgramState::GLProgramState()
, _vertexAttribsFlags(0)
, _glprogram(nullptr)
, _nodeBinding(nullptr)
#if (CC_TARGET_PLATFORM == CC_PLATFORM_OHOS)
, _backToForegroundlistener(nullptr)
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only initialize on OHOS?

@@ -56,10 +56,13 @@ MeshCommand::MeshCommand()
, _vao(0)
, _material(nullptr)
, _stateBlock(nullptr)
#if (CC_TARGET_PLATFORM == CC_PLATFORM_OHOS)
, _rendererRecreatedListener(nullptr)
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only initialize on OHOS?

register_assetsmanager_test_sample(L);
#endif
register_test_binding(L);
}
lua_pop(L, 1);


pEngine->executeScriptFile("src/controller.lua");

FileUtils::getInstance()->addSearchPath("");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why add an empty path?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants