Fix deprecation warning in SkeletonRenderer

This commit is contained in:
mogemimi 2015-12-03 00:09:47 +09:00
parent 3fc0d327bf
commit d4233dd63a
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ void SkeletonRenderer::initialize () {
_blendFunc = BlendFunc::ALPHA_PREMULTIPLIED;
setOpacityModifyRGB(true);
setGLProgram(ShaderCache::getInstance()->getGLProgram(GLProgram::SHADER_NAME_POSITION_TEXTURE_COLOR));
setGLProgram(GLProgramCache::getInstance()->getGLProgram(GLProgram::SHADER_NAME_POSITION_TEXTURE_COLOR));
}
void SkeletonRenderer::setSkeletonData (spSkeletonData *skeletonData, bool ownsSkeletonData) {