mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-20 23:52:40 +08:00
Fixed crash on android
This commit is contained in:
@@ -36,7 +36,6 @@ THE SOFTWARE.
|
||||
#include "renderer/ccGLStateCache.h"
|
||||
#include "2d/CCDrawingPrimitives.h"
|
||||
#include "platform/android/jni/JniHelper.h"
|
||||
#include "network/CCDownloader-android.h"
|
||||
#include <android/log.h>
|
||||
#include <jni.h>
|
||||
|
||||
@@ -80,7 +79,6 @@ JNIEXPORT void Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit(JNIEnv* env, jo
|
||||
director->getEventDispatcher()->dispatchEvent(&recreatedEvent);
|
||||
director->setGLDefaultValues();
|
||||
}
|
||||
cocos2d::network::_preloadJavaDownloaderClass();
|
||||
}
|
||||
|
||||
JNIEXPORT jintArray Java_org_cocos2dx_lib_Cocos2dxActivity_getGLContextAttrs(JNIEnv* env, jobject thiz)
|
||||
|
||||
Reference in New Issue
Block a user