OpenGL ES iPhone - desenho de linhas anti-alias

Normalmente, você usaria algo como:

glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_BLEND);
glEnable(GL_LINE_SMOOTH);

glLineWidth(2.0f);

glVertexPointer(2, GL_FLOAT, 0, points);
glEnableClientState(GL_VERTEX_ARRAY);

glDrawArrays(GL_LINE_STRIP, 0, num_points);

glDisableClientState(GL_VERTEX_ARRAY);

Parece bom no simulador do iPhone, mas no iPhone as linhas ficam extremamente finas e sem qualquer anti-aliasing.

Como você consegue AA no iPhone?

questionAnswers(7)

yourAnswerToTheQuestion