Source refactor. Corrected compile issue

This commit is contained in:
Krishna Narasimhan 2015-02-23 13:01:19 +01:00
parent 239a5f307f
commit 80ea81884b
1 changed files with 3 additions and 2 deletions

View File

@ -291,7 +291,7 @@ namespace CocosDenshion {
methodInfo.env->DeleteLocalRef(methodInfo.classID);
}
void AndroidJavaEngine::loadEffect(const char* pszFilePath, String loadEffectName) {
void AndroidJavaEngine::loadEffect(const char* pszFilePath, char* loadEffectName) {
cocos2d::JniMethodInfo methodInfo;
std::string fullPath = CocosDenshion::android::getFullPathWithoutAssetsPrefix(pszFilePath);
@ -311,6 +311,7 @@ namespace CocosDenshion {
}
void AndroidJavaEngine::unloadEffect(const char* pszFilePath) {
AndroidJavaEngine::loadEffect(pszFilePath, "unloadEffect"); }
AndroidJavaEngine::loadEffect(pszFilePath, "unloadEffect");
}
}
}