-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
base: cocos2d-x-3.8-oh
Are you sure you want to change the base?
3.8 version OHOS adaptation #20829
Conversation
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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(""); |
There was a problem hiding this comment.
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?
3.8 version OHOS adaptation