{"action":"closed","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9629","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9629/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9629/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/9629/events","html_url":"https://github.com/cocos2d/cocos2d-x/issues/9629","id":52851913,"number":9629,"title":"cocos2dx3.3f spine:GLProgram","user":{"login":"luosixiang","id":10294716,"avatar_url":"https://avatars.githubusercontent.com/u/10294716?v=3","gravatar_id":"","url":"https://api.github.com/users/luosixiang","html_url":"https://github.com/luosixiang","followers_url":"https://api.github.com/users/luosixiang/followers","following_url":"https://api.github.com/users/luosixiang/following{/other_user}","gists_url":"https://api.github.com/users/luosixiang/gists{/gist_id}","starred_url":"https://api.github.com/users/luosixiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luosixiang/subscriptions","organizations_url":"https://api.github.com/users/luosixiang/orgs","repos_url":"https://api.github.com/users/luosixiang/repos","events_url":"https://api.github.com/users/luosixiang/events{/privacy}","received_events_url":"https://api.github.com/users/luosixiang/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"dabingnn","id":4794489,"avatar_url":"https://avatars.githubusercontent.com/u/4794489?v=3","gravatar_id":"","url":"https://api.github.com/users/dabingnn","html_url":"https://github.com/dabingnn","followers_url":"https://api.github.com/users/dabingnn/followers","following_url":"https://api.github.com/users/dabingnn/following{/other_user}","gists_url":"https://api.github.com/users/dabingnn/gists{/gist_id}","starred_url":"https://api.github.com/users/dabingnn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dabingnn/subscriptions","organizations_url":"https://api.github.com/users/dabingnn/orgs","repos_url":"https://api.github.com/users/dabingnn/repos","events_url":"https://api.github.com/users/dabingnn/events{/privacy}","received_events_url":"https://api.github.com/users/dabingnn/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2014-12-25T07:23:43Z","updated_at":"2015-04-27T09:29:19Z","closed_at":"2015-04-27T09:29:19Z","body":"spine 动画使用 着色器 会导致 spine 动画坐标缩放等信息全部为默认值， 修改无效。或者是我代码写错了?\r\n\r\nauto p = ShaderCache::getInstance()->getGLProgram(GLProgram::SHADER_NAME_POSITION_TEXTURE_COLOR);\r\n\tp->initWithFilenames(\"res/Shader/gray.vsh\", \"res/Shader/gray.fsh\");\r\n    p->bindAttribLocation(GLProgram::ATTRIBUTE_NAME_POSITION, GLProgram::VERTEX_ATTRIB_POSITION);\r\n    p->bindAttribLocation(GLProgram::ATTRIBUTE_NAME_COLOR, GLProgram::VERTEX_ATTRIB_COLOR);\r\n    p->bindAttribLocation(GLProgram::ATTRIBUTE_NAME_TEX_COORD, GLProgram::VERTEX_ATTRIB_TEX_COORDS);\r\n    p->link();\r\n    p->updateUniforms();\r\n\tsetGLProgram(p);"}}