mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
3.5.0 swappy (#10327)
* gles2/3 swappy * vk swappy * manually fallback in GL Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com.com>
This commit is contained in:
@@ -74,4 +74,12 @@ void AndroidPlatform::pollEvent() {
|
||||
_jniNativeGlue->flushTasksOnGameThread();
|
||||
}
|
||||
|
||||
}; // namespace cc
|
||||
void *AndroidPlatform::getActivity() {
|
||||
return _jniNativeGlue->getActivity();
|
||||
}
|
||||
|
||||
void *AndroidPlatform::getEnv() {
|
||||
return _jniNativeGlue->getEnv();
|
||||
}
|
||||
|
||||
}; // namespace cc
|
||||
|
||||
Reference in New Issue
Block a user