I have two layers. Each layer has a primitive drawing in it with OpenGL like this:
void Layer1::drawPolygon() { glLineWidth(1); DrawPrimitives::setDr
Due to the new multithreader renderer on cocos2d-x 3.0, drawing with primitives requires a different approach. Take a look at my reply at this thread:
https://stackoverflow.com/a/22724319/1468700