mirror of https://github.com/axmolengine/axmol.git
Fixed compilation issue. Introduced missing CLASS_NAME
This commit is contained in:
parent
ec3a8d49f9
commit
35403439f3
|
@ -295,7 +295,7 @@ namespace CocosDenshion {
|
|||
cocos2d::JniMethodInfo methodInfo;
|
||||
std::string fullPath = CocosDenshion::android::getFullPathWithoutAssetsPrefix(pszFilePath);
|
||||
|
||||
if (! cocos2d::JniHelper::getStaticMethodInfo(methodInfo, loadEffectName, "(Ljava/lang/String;)V")) {
|
||||
if (! cocos2d::JniHelper::getStaticMethodInfo(methodInfo, CLASS_NAME, loadEffectName, "(Ljava/lang/String;)V")) {
|
||||
return ;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue