mirror of https://github.com/axmolengine/axmol.git
Fix deprecation warning in SkeletonRenderer
This commit is contained in:
parent
3fc0d327bf
commit
d4233dd63a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue