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

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -