Cocos2d V3 issue with texture parameters -
i've been following tutorial creating textures using cocos2d v2 using v3 (i have started learning). ran few issues v2 code doesn't work in v3 managed round them. i'm stuck 1 issue:
cctexparams tp = {gl_linear, gl_linear, gl_repeat, gl_repeat};
error: use of undeclared identifier 'cctexparams'
another comment suggested:
texture2d::texparams tp = {gl_linear, gl_linear, gl_repeat, gl_repeat};
but doesn't work either (or i'm doing wrong). can show me need do?
Comments
Post a Comment