0.0 0


How can I make antialiasing lines?


You can find the solution in DrawPrimitivesTest in tests project.


Actually the DrawPrimitivesTest file suggests to use glEnable(GL_LINE_SMOOTH); but this triggers an error, GL_LINE_SMOOTH is not supported (in older xcode versions it showed up ok in the simulator but when you ran it on the device it would do nothing).
Is there any other way of achieving this?

Final topic about Anti-Aliasing disease

I got the same problem. Any suggestion? My cocos2d-x version is 2.0.4. Thanks


Use sprites instead procedural lines.