From bbac0be9a6497da3e74eb8abc9b776a38f70d672 Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Fri, 9 May 2014 22:04:19 -0700 Subject: [PATCH] add deprecated alias cc.VERTEX_ATTRIB_TEX_COORDS --- cocos/scripting/lua-bindings/script/Cocos2dConstants.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua b/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua index 78027543f5..e07724a7ba 100644 --- a/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua +++ b/cocos/scripting/lua-bindings/script/Cocos2dConstants.lua @@ -132,6 +132,8 @@ cc.VERTEX_ATTRIB_COLOR = 0x1 cc.VERTEX_ATTRIB_MAX = 0x3 cc.VERTEX_ATTRIB_POSITION = 0x0 cc.VERTEX_ATTRIB_TEX_COORD = 0x2 + +cc.VERTEX_ATTRIB_TEX_COORDS = 0x2 cc.VERTICAL_TEXT_ALIGNMENT_BOTTOM = 0x2 cc.VERTICAL_TEXT_ALIGNMENT_CENTER = 0x1 cc.VERTICAL_TEXT_ALIGNMENT_TOP = 0x0