Why the function glHint do not work?

i want to do antialiasing for points. so use following code:
glEnable(GL_POINT_SMOOTH);
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA);
glHint(GL_POINT_SMOOTH_HINT,GL_NICEST);
But this process does not work , the point still a square, not a circle. Why ??

Because a hint is just a hint. OpenGL implementations are allowed to just ignore hints. If it does not work, the OpenGL implementation you’re working on most probably does not support antialiasing.

Thank you for your answer!
If the OpenGL implementation (vincent) that i use does not support antialiasing, why it provide this function?

Because it’s required by the spec, so every application using OpenGL ES according to the spec does at least run on any implementation.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.