I have some cocos2d-iphone code to port to cocos2d-x code. But I got some problems for the following code:
glDisableClientState(GL_COLOR_ARRAY);
glColor4ub( getColor().r, getColor().g, getColor().b,getQuad().bl.colors.a);
The error messages are:
Use of undeclared identifier ‘GL_COLOR_ARRAY’
Use of undeclared identifier ‘glColor4ub’
Can anybody tell me the reason and what should I do? Thanks in advance.