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

hibernate - How to load global settings frequently used in application in Java -

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

objective c - Ownership modifiers with manual reference counting -