chukong / quick-cocos2d-x

quick-cocos2d-x is a quick framework, based on cocos2d-x. Make mobile games in Lua.
http://quick-x.com/
1.48k stars 868 forks source link

quick3.3 GLProgramState 传递参数时会报错 #533

Closed ChenRenault closed 9 years ago

ChenRenault commented 9 years ago

比如传递浮点数: error: cc.GLProgramState:setUniformFloat argument #2 is 'string'; 'number' expected.

但是会有效果,只是会报错。

Mattosx commented 9 years ago

我也遇到,手动的 把绑定内的函数 内容调换下,先读取 string int 就不会了.

ChenRenault commented 9 years ago

@ZocaloFocus 感谢您。