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

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -