{"action":"closed","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/13320","repository_url":"https://api.github.com/repos/cocos2d/cocos2d-x","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/13320/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/13320/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/13320/events","html_url":"https://github.com/cocos2d/cocos2d-x/issues/13320","id":100269232,"number":13320,"title":"VertexAttribValue::setPointer for Lua","user":{"login":"fusijie","id":5085300,"avatar_url":"https://avatars.githubusercontent.com/u/5085300?v=3","gravatar_id":"","url":"https://api.github.com/users/fusijie","html_url":"https://github.com/fusijie","followers_url":"https://api.github.com/users/fusijie/followers","following_url":"https://api.github.com/users/fusijie/following{/other_user}","gists_url":"https://api.github.com/users/fusijie/gists{/gist_id}","starred_url":"https://api.github.com/users/fusijie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusijie/subscriptions","organizations_url":"https://api.github.com/users/fusijie/orgs","repos_url":"https://api.github.com/users/fusijie/repos","events_url":"https://api.github.com/users/fusijie/events{/privacy}","received_events_url":"https://api.github.com/users/fusijie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2015-08-11T09:29:26Z","updated_at":"2016-07-04T05:44:00Z","closed_at":"2016-07-04T05:44:00Z","body":"`version: ` v3.8\r\n`issue: `\r\nFor C++, `VertexAttribValue::setPointer` just to make a shallow copy, but we can manage the memory manual. But for Lua, `glNode:getGLProgramState():setVertexAttribPointer` call `lua_cocos2dx_GLProgramState_setVertexAttribPointer` and new memory and delete memory inside. which cause the pointer becomes a null pointer while `glNode:getGLProgramState():apply(transform)`.\r\n`reproduce: `\r\nLua-tests->OpenGLTest->most of tests display abnormal because of the VAO message missing."}}
{"actor":{"display_login":"minggo"}}