I’m trying to add the anti-aliasing functionality to my app and I try it using:
glEnable( GL_LINE_SMOOTH ); glEnable( GL_POLYGON_SMOOTH ); glHint( GL_LINE_SMOOTH_HINT, GL_NICEST ); glHint( GL_POLYGON_SMOOTH_HINT, GL_NICEST );
However it doesn’t work and I read somewhere that’s because those functions are deprecated and recommend to use GLUT libraries. Is it true? How the GLUT libraries can be used for anti-aliasing?