mirror of https://github.com/axmolengine/axmol.git
Source refactor. Corrected compile issue
This commit is contained in:
parent
239a5f307f
commit
80ea81884b
|
@ -291,7 +291,7 @@ namespace CocosDenshion {
|
||||||
methodInfo.env->DeleteLocalRef(methodInfo.classID);
|
methodInfo.env->DeleteLocalRef(methodInfo.classID);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AndroidJavaEngine::loadEffect(const char* pszFilePath, String loadEffectName) {
|
void AndroidJavaEngine::loadEffect(const char* pszFilePath, char* loadEffectName) {
|
||||||
cocos2d::JniMethodInfo methodInfo;
|
cocos2d::JniMethodInfo methodInfo;
|
||||||
std::string fullPath = CocosDenshion::android::getFullPathWithoutAssetsPrefix(pszFilePath);
|
std::string fullPath = CocosDenshion::android::getFullPathWithoutAssetsPrefix(pszFilePath);
|
||||||
|
|
||||||
|
@ -311,6 +311,7 @@ namespace CocosDenshion {
|
||||||
}
|
}
|
||||||
|
|
||||||
void AndroidJavaEngine::unloadEffect(const char* pszFilePath) {
|
void AndroidJavaEngine::unloadEffect(const char* pszFilePath) {
|
||||||
AndroidJavaEngine::loadEffect(pszFilePath, "unloadEffect"); }
|
AndroidJavaEngine::loadEffect(pszFilePath, "unloadEffect");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue