[cairo] Antialiasing not working with glitz

Bill Spitzak spitzak at d2.com
Fri Apr 30 16:36:34 PDT 2004


On Friday 30 April 2004 08:17 am, Carl Worth wrote:

> Others that have more experience with OpenGL may be able to offer
> suggestions on what is possible and how to enable it.

This works but we are not doing shading or texture maps, those may interfere 
with this working. This works on several year old Nvidia drivers for Linux 
and for Windows:

glEnable(GL_POLYGON_SMOOTH);
glEnable(GL_LINE_SMOOTH); // may not be necessary
glEnable(GL_BLEND);

-- 
                   ,~,~,~,~ ~ ~ ~ ~
     /\_       _|_========___         Bill Spitzak
 ~~~/\/\\~~~~~~\____________/~~~~~~~~ spitzak at d2.com




More information about the cairo mailing list