I'm using the following code in order to antialiase only the edges of my polygons:
glHint(GL_POLYGON_SMOOTH_HINT, GL_NICEST);
glEnable(GL_POLYGON_SMOOTH);
But it doesn't work.
I can force enable antialiasing by the nvidia control panel, and it does antialiase my application polygons. With the code above, I even enabled blending, but it has no effect. Also the rendering code shouldnt be changed since the nvidia control panel can turn it on, and it certainly cant modify my rendering code, it must be some on/off flag. What is it?
I've heard of "multisampling", but i don't need that.
Edit: the nvidia control panel setting is "application controlled" when it doesnt work.