I am running the example that is supposed to display smooth lines using anti-aliasing feature.The line appears jagged when I rotate it by some degrees.
Any ideas why it’s not working?
code snippet:
glEnable(GL_LINE_SMOOTH);
glEnable(GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glHint(GL_LINE_SMOOTH_HINT, GL_DONT_CARE);
glLineWidth (3.0);
Thanks in advance.